/* PingZone product website (website/index.html). Dark only, like the app.
 * Layout: a control room — wide bands on warm black, the app's hexagon as the one recurring shape, yellow kept for
 * what you can press and for the ping once it is low. */

@font-face { font-family: 'Peyda'; font-weight: 400; font-display: swap; src: url('../assets/fonts/Peyda-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Peyda'; font-weight: 500; font-display: swap; src: url('../assets/fonts/Peyda-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Peyda'; font-weight: 600; font-display: swap; src: url('../assets/fonts/Peyda-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Peyda'; font-weight: 700; font-display: swap; src: url('../assets/fonts/Peyda-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn FD'; font-weight: 400; font-display: swap; src: url('../assets/fonts/Vazirmatn-FD-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn FD'; font-weight: 500; font-display: swap; src: url('../assets/fonts/Vazirmatn-FD-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn FD'; font-weight: 700; font-display: swap; src: url('../assets/fonts/Vazirmatn-FD-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn FD'; font-weight: 900; font-display: swap; src: url('../assets/fonts/Vazirmatn-FD-Black.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 300; font-display: swap; src: url('../assets/fonts/montserrat-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url('../assets/fonts/montserrat-latin-400-normal.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  /* colour: warm blacks biased toward the brand yellow; signal colours only for ping states */
  --bg: #0F0E0C;
  --bg-2: #151410;
  --surface: #1B1A16;
  --surface-2: #23211C;
  --line: #2E2B24;
  --text: #F3F0E7;
  --muted: #A8A291;
  --dim: #6F6A5D;
  --accent: #FCC605;
  --accent-deep: #B99103;
  --on-accent: #191919;
  --hi: #ED4B3E;            /* high ping */
  --mid: #F59E0B;           /* unstable */
  --ok: #00BA88;            /* connected */
  --max: #E8D9A8;           /* MAX tag */

  /* type */
  --font-fa: 'Peyda', 'Vazirmatn FD', Tahoma, sans-serif;
  --font-latin: 'Inter', 'Vazirmatn FD', system-ui, sans-serif;
  --font-num: 'Montserrat', 'Inter', system-ui, sans-serif;
  --t-hero: 700 clamp(40px, 6.4vw, 76px)/1.12 var(--font-fa);
  --t-h2: 700 clamp(28px, 3.6vw, 42px)/1.3 var(--font-fa);
  --t-h3: 700 19px/1.5 var(--font-fa);
  --t-lead: 400 clamp(17px, 1.6vw, 19px)/1.95 var(--font-fa);
  --t-body: 400 16px/1.9 var(--font-fa);
  --t-small: 400 14px/1.8 var(--font-fa);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1180px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-end: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* honeycomb outline, tiled */
  --honey: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54 16v31L28 62 2 47V16zM28 62v35M2 16 0 15M54 16l2-1' fill='none' stroke='%23FCC605' stroke-width='1'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--t-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {              /* the band above a sticky header on notched phones */
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[dir='ltr'], .ltr { font-family: var(--font-latin); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { display: block; flex: none; }
i[data-icon] { display: inline-flex; flex: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 32px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-end);
}
.wrap--narrow { max-width: 860px; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); }
.skip:focus { top: 12px; }

/* ==== Buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font: 700 17px/1 var(--font-fa);
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(252, 198, 5, .55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(252, 198, 5, .7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); background: rgba(252, 198, 5, .06); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.btn--block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1.6 var(--font-fa); color: var(--accent); }
.hexdot { width: 12px; height: 13px; flex: none; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font: 700 11px/1 var(--font-latin);
  letter-spacing: .08em;
  vertical-align: middle;
}
.tag--pro { background: var(--accent); color: var(--on-accent); }
.tag--max { box-shadow: inset 0 0 0 1px var(--max); color: var(--max); }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; font: var(--t-small); color: var(--muted); }
.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 14px;
  height: 15px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: .9;
}

/* ==== Header ==== */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(15, 14, 12, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--font-fa); color: var(--accent); }
.brand img { width: 34px; height: auto; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { font: 500 15px/1 var(--font-fa); color: var(--muted); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--text); }
.top .btn { margin-inline-start: 8px; }
@media (max-width: 720px) {
  .nav { display: none; }
  .top .btn { margin-inline-start: auto; }
}

/* ==== Hero ==== */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); isolation: isolate; }
.hero::before {                       /* honeycomb fading out from behind the console */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--honey) center / 56px 97px;
  opacity: .07;
  -webkit-mask: radial-gradient(70% 80% at 22% 50%, #000 0, transparent 75%);
  mask: radial-gradient(70% 80% at 22% 50%, #000 0, transparent 75%);
}
.hero::after {                        /* the glow of the power button */
  content: '';
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  left: max(-160px, calc(50% - 760px));
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(252, 198, 5, .16), transparent);
  pointer-events: none;
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; container-type: inline-size; }
.hero__title { font: var(--t-hero); text-wrap: balance; letter-spacing: -.01em; }
/* the typed line never wraps: the title scales with its column so the longest slogan (≈ 8.6em) fits */
@supports (font-size: 1cqi) { .hero__title { font-size: min(76px, 11.2cqi); } }
.hero__title em { font-style: normal; color: var(--accent); }
.typed { display: inline-flex; align-items: center; height: 1.12em; vertical-align: top; white-space: nowrap; }   /* one fixed line: no jump while typing or empty */
.typed__caret {
  width: .07em;
  height: .82em;
  margin-inline-start: .06em;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
}
.js .typed__caret { opacity: 1; }
.hero__lead { max-width: 34em; font: var(--t-lead); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font: var(--t-small); color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero__facts .icon { color: var(--ok); }
@media (max-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero::after { left: 50%; top: auto; bottom: -160px; transform: translateX(-50%); }
  .hero::before { -webkit-mask: radial-gradient(90% 60% at 50% 80%, #000 0, transparent 75%); mask: radial-gradient(90% 60% at 50% 80%, #000 0, transparent 75%); }
}

/* ---- The console: route, live trace, readouts, the hexagon power button ---- */
.console {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(35, 33, 28, .92), rgba(21, 20, 16, .96));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(197, 192, 192, .12);
}
.console__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.console__title { font: 700 16px/1 var(--font-fa); color: var(--muted); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  font: 500 13px/1 var(--font-fa);
  color: var(--muted);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-checked='true'] { background: var(--surface-2); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .35); }
@media (max-width: 480px) {
  .seg { width: 100%; }
  .seg button { flex: 1 1 0; justify-content: center; padding: 0 4px; font-size: 12px; }
  .seg .icon { display: none; }
}

.route { display: flex; align-items: center; gap: 10px; min-width: 0; font: var(--t-small); }
.route__item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.route__item img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.route__item b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route__line { flex: 1 1 20px; min-width: 16px; height: 2px; background: repeating-linear-gradient(90deg, var(--dim) 0 6px, transparent 6px 11px); }
.console[data-state='on'] .route__line { background: var(--accent); }
.status {
  flex: none;
  margin-inline-start: auto;
  padding: 4px 10px;
  border-radius: 999px;
  font: 600 12px/1.4 var(--font-fa);
  color: var(--muted);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.status[data-state='connecting'] { color: var(--mid); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .4); }
.status[data-state='on'] { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(0, 186, 136, .45); }
@media (max-width: 420px) { .route__line, .route__item img { display: none; } .route { gap: 8px; } }

.trace { position: relative; height: 180px; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.trace canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.trace__caption { position: absolute; top: 8px; inset-inline-start: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(15, 14, 12, .8); font: 400 12px/1.6 var(--font-fa); color: var(--dim); pointer-events: none; }

.readouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.readout { display: flex; flex-direction: column; justify-content: space-between; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }   /* values on one line even when a label wraps */
.readout dt { font: var(--t-small); font-size: 13px; color: var(--dim); }
.readout dd { display: flex; align-items: baseline; gap: 4px; font: 700 26px/1.2 var(--font-fa); font-variant-numeric: tabular-nums; }
.readout small { font: 400 12px/1 var(--font-num); color: var(--dim); }
.readout--ping dd { color: var(--hi); transition: color .4s; }
.console[data-level='mid'] .readout--ping dd { color: var(--mid); }
.console[data-level='low'] .readout--ping dd { color: var(--accent); }
/* AI / trade / business readouts: words (مسدود / باز, ایران / ژاپن…), red before, yellow once connected */
.console[data-chart='access'] .readout dd { font-size: 21px; line-height: 1.45; white-space: nowrap; transition: color .4s; }
.readout dd[data-tone='bad'] { color: var(--hi); }
.readout dd[data-tone='good'] { color: var(--accent); }
.readout dd[data-tone='wait'] { color: var(--mid); }
@media (max-width: 480px) { .console[data-chart='access'] .readout dd { font-size: 17px; } .readout { padding: 10px; } }

.console__foot { display: flex; align-items: center; gap: 18px; }
.console__hint { font: var(--t-small); color: var(--muted); }
.console__note { font: 400 12px/1.7 var(--font-fa); color: var(--dim); }

.power { position: relative; flex: none; display: grid; place-items: center; width: 104px; height: 115px; border-radius: 30%; }
.power__hex { grid-area: 1 / 1; width: 104px; height: 115px; transition: filter .4s; }
.power__icon { grid-area: 1 / 1; position: relative; color: #fff; transition: color .4s, filter .4s; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7)); }
.power__ring {
  grid-area: 1 / 1;
  width: 104px;
  height: 115px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0;
  transform: scale(.92);
  filter: blur(14px);
  transition: opacity .4s, transform .4s var(--ease);
}
.power:hover .power__hex { filter: brightness(1.25); }
.power:active { transform: scale(.96); }
.console[data-state='connecting'] .power__icon { color: var(--mid); filter: drop-shadow(0 0 6px rgba(252, 160, 0, .9)); animation: pz-pulse 1s ease-in-out infinite; }
.console[data-state='on'] .power__icon { color: var(--accent); filter: drop-shadow(0 0 8px rgba(252, 198, 5, .9)); }
.console[data-state='on'] .power__ring { opacity: .45; transform: scale(1.02); }
@keyframes pz-pulse { 50% { opacity: .45; } }

/* ==== Numbers band ==== */
.band--numbers { border-block: 1px solid var(--line); background: var(--bg-2); }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 28px; }
.numbers li { display: flex; flex-direction: column; gap: 2px; padding-inline: 20px; border-inline-start: 1px solid var(--line); }
.numbers li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.numbers b { font: 700 clamp(26px, 3vw, 34px)/1.3 var(--font-fa); color: var(--accent); }
.numbers span { font: var(--t-small); color: var(--muted); }
@media (max-width: 760px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .numbers li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
}

/* ==== Sections ==== */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__title { font: var(--t-h2); text-wrap: balance; }
.section__lead { font: var(--t-lead); color: var(--muted); }

/* ---- Modes: four portrait photo cards (a swipeable row on phones) ---- */
.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mode { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mode__photo { position: relative; aspect-ratio: 4 / 4.4; max-width: 100%; overflow: hidden; }
.mode__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .8s var(--ease); }
.mode__photo::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--surface)); }
.mode:hover .mode__photo img { transform: scale(1.04); }
.mode__body { position: relative; display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 0 20px 22px; margin-top: -36px; }
.mode__title { display: flex; align-items: center; gap: 10px; font: var(--t-h3); font-size: 20px; }
.mode__title .icon { color: var(--accent); }
.mode__text { font: var(--t-small); color: var(--text); opacity: .86; }
.logos { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.logos img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }
.logos__more { font: 400 12px/1.4 var(--font-fa); color: var(--dim); margin-inline-start: 4px; }
@media (max-width: 1080px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mode__photo { aspect-ratio: 16 / 10; } }
@media (max-width: 640px) {
  .modes {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-end) * -1);
    padding-inline: var(--gutter) var(--gutter-end);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .modes::-webkit-scrollbar { display: none; }
  .mode { flex: 0 0 82%; scroll-snap-align: center; }
  .mode__photo { aspect-ratio: 4 / 3.6; }
}

/* ---- Steps: the app's own selectors, then the hexagon ---- */
.section--steps { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step__ui {
  display: grid;
  place-items: center;
  height: 150px;
  margin-bottom: 8px;
  border-radius: var(--r-lg);
  background: var(--bg) var(--honey) center / 40px 69px;
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative;
  overflow: hidden;
}
.step__ui::before { content: ''; position: absolute; inset: 0; background: radial-gradient(closest-side, transparent, var(--bg) 92%); }
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 14px 0 14px;
  border-radius: 12px;
  background: linear-gradient(175deg, #202022, #131316);
  box-shadow: 0 0 0 1px rgba(197, 192, 192, .2), 0 12px 24px -10px rgba(0, 0, 0, .8);
  font: 600 16px/1 var(--font-fa);
}
.pill img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.pill .icon { color: var(--muted); }
.minihex { position: relative; display: grid; place-items: center; }
.minihex img, .minihex i { grid-area: 1 / 1; }
.minihex i { color: var(--accent); filter: drop-shadow(0 0 6px rgba(252, 198, 5, .8)); }
.step__title { display: flex; align-items: center; gap: 12px; font: var(--t-h3); }
.step__n { display: grid; place-items: center; width: 30px; height: 33px; flex: none; background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--font-fa); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.step__text { font: var(--t-small); color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---- Security: a quiet grid, divided by hairlines ---- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 28px 24px 30px; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--line); }
.feature__icon { color: var(--accent); }
.feature__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font: var(--t-h3); }
.feature__text { font: var(--t-small); color: var(--muted); }
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:not(:nth-child(3n + 1)) { border-inline-start: 0; }
  .feature:nth-child(even) { border-inline-start: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) { border-inline-start: 0; }
  .feature { padding-inline: 0; }
}

/* ---- Plans ---- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan .ticks { flex: 1; }
.plan--pro { background: linear-gradient(165deg, rgba(252, 198, 5, .14), var(--surface) 55%); box-shadow: inset 0 0 0 1.5px var(--accent), 0 30px 60px -36px rgba(252, 198, 5, .55); }
.plan__head { display: flex; flex-direction: column; gap: 6px; }
.plan__icon { color: var(--accent); margin-bottom: 6px; }
.plan__name { display: flex; align-items: center; gap: 10px; font: var(--t-h3); font-size: 21px; }
.plan__tagline { font: var(--t-small); color: var(--muted); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding-block: 16px; border-block: 1px solid var(--line); }
.plan__price b { font: 700 34px/1.1 var(--font-fa); font-variant-numeric: tabular-nums; }
.plan__price s { font: var(--t-small); color: var(--dim); }
.plan__price span { font: var(--t-small); color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

.operator {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.operator__icon { color: var(--accent); }
.operator__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.operator__title { font: var(--t-h3); font-size: 17px; }
.operator__text { font: var(--t-small); color: var(--muted); }
.operator__inf { color: var(--dim); }
@media (max-width: 560px) { .operator { align-items: flex-start; } .operator__inf { display: none; } }
.plans__pay { display: flex; align-items: center; gap: 10px; margin-top: 18px; font: var(--t-small); color: var(--dim); }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  font: 600 18px/1.6 var(--font-fa);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--dim); transition: transform .3s var(--ease), color .3s; }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--accent); }
.faq details p { max-width: 62ch; padding-bottom: 24px; font: var(--t-body); color: var(--muted); }

/* ==== Download ==== */
.download {
  position: relative;
  padding-block: clamp(64px, 9vw, 110px);
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(252, 198, 5, .14), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.download::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--honey) center / 56px 97px; opacity: .05; }
.download__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.download__copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.download__logo { width: 122px; height: auto; }
.download__title { font: var(--t-h2); }
.download__lead { font: var(--t-lead); color: var(--muted); }
.download__lead b { color: var(--accent); font-weight: 600; }
.changelog { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.changelog__title { font: 600 15px/1.5 var(--font-fa); color: var(--text); }
/* rows are spaced by each item's margin, not row-gap, so the closed APK box (a row of its own) takes no space */
.stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin-bottom: -12px; }
.stores > li { margin-bottom: 12px; }
.store {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.store:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .6); }
.store .icon { color: var(--text); }
.store__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font: 700 17px/1.3 var(--font-fa); }
.store__text small { font: 400 12px/1.2 var(--font-fa); color: var(--dim); }
.store__for { margin-inline-start: auto; font: 400 12px/1.4 var(--font-fa); color: var(--muted); text-align: end; }
.store.is-yours { background: linear-gradient(160deg, rgba(252, 198, 5, .16), var(--surface) 70%); box-shadow: inset 0 0 0 1.5px var(--accent); }
.store.is-yours .store__for { color: var(--accent); }
.stores li:has(.is-yours) { order: -1; }      /* the visitor's own stores first */
/* direct APK (owner request 2026-10-26): the tile opens a box with the three builds under it (the row then spans
 * the grid); the universal build is the suggested pick */
.store--apk { width: 100%; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.store__chevron { flex: none; color: var(--dim); transition: transform .25s var(--ease); }
.store--apk[aria-expanded='true'] .store__chevron { transform: rotate(180deg); }
/* the box is a row of its own under the tile (the tile keeps its place); it opens by growing its row from 0 to its
 * height (grid-template-rows 0fr -> 1fr) and fading in; closed it has no margin, so it takes no space. */
.stores > .stores__apkbox {
  display: grid;
  grid-column: 1 / -1;
  grid-template-rows: 0fr;
  margin-bottom: 0;
  opacity: 0;
  transition: grid-template-rows .4s var(--ease), margin-bottom .4s var(--ease), opacity .3s ease;
}
.stores > .stores__apkbox.is-open { grid-template-rows: 1fr; margin-bottom: 12px; opacity: 1; }
.stores__apkbox > .apk-box { min-height: 0; overflow: hidden; }
.stores:has(.store--apk.is-yours) .stores__apkbox { order: -1; }   /* stays right under the tile when it moves first */
.apk-box { display: flex; flex-direction: column; gap: 10px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.apk-box > :first-child { margin-top: 14px; }
.apk-box > * { margin-inline: 14px; }
.apk-box > :last-child { margin-bottom: 14px; }
.apk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.apk__btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s var(--ease);
}
.apk__btn b { font: 700 14px/1.4 var(--font-fa); }
.apk__btn b[dir='ltr'] { font-family: var(--font-latin); text-align: start; }
.apk__btn small { font: 400 12px/1.4 var(--font-fa); color: var(--muted); }
.apk__btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .6); }
.apk__btn.is-main { box-shadow: inset 0 0 0 1.5px var(--accent); }
.apk__btn.is-main small { color: var(--accent); }
.apk__hint { font: 400 12px/1.6 var(--font-fa); color: var(--dim); }
@media (max-width: 560px) { .apk { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .download__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .stores { grid-template-columns: minmax(0, 1fr); } }

/* ==== Footer: a glowing top edge, the countries strip, four columns, the bottom bar ==== */
.foot { position: relative; overflow: hidden; padding-top: 0; background: linear-gradient(180deg, var(--bg-2), var(--bg) 40%); isolation: isolate; }
.foot::before {                       /* the top edge: a yellow line fading out to both sides, with a glow under it */
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  box-shadow: 0 0 24px 2px rgba(252, 198, 5, .35);
  opacity: .7;
}
.foot::after {                        /* honeycomb, fading in toward the bottom */
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 70%;
  z-index: -1;
  background: var(--honey) center bottom / 56px 97px;
  opacity: .05;
  -webkit-mask: linear-gradient(transparent, #000);
  mask: linear-gradient(transparent, #000);
}

.live-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(0, 186, 136, .5); }

/* countries: a strip that keeps moving (two copies of the list, the second only for the loop) */
.foot__countries { display: flex; flex-direction: column; gap: 14px; padding-block: 34px 30px; border-bottom: 1px solid var(--line); }
.foot__countries-label { display: flex; align-items: center; gap: 10px; font: 500 14px/1.6 var(--font-fa); color: var(--muted); }
.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 12px; padding-inline: 6px; }
.marquee__track li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding-inline: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 15px/1 var(--font-fa);
  white-space: nowrap;
}
.marquee__track img { width: 28px; height: 28px; border-radius: 50%; }

/* columns */
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.3fr); gap: 40px; padding-block: 56px 20px; }
.foot__brand { display: flex; flex-direction: column; gap: 16px; }
.foot__brand p { max-width: 34ch; font: var(--t-small); color: var(--muted); }
.foot__stores, .foot__social { display: flex; flex-wrap: wrap; gap: 8px; }
:is(.foot__stores, .foot__social) a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  transition: color .2s, transform .25s var(--ease), box-shadow .2s;
}
:is(.foot__stores, .foot__social) a:hover { color: var(--accent); transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .5); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.foot__title { margin-bottom: 4px; font: 700 15px/1.6 var(--font-fa); color: var(--text); }
.foot__col a { position: relative; font: var(--t-small); color: var(--muted); text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.foot__col a::before {                /* a small hexagon slides in before the link on hover */
  content: '';
  position: absolute;
  inset-inline-start: -14px;
  top: 50%;
  width: 7px;
  height: 8px;
  margin-top: -4px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s, transform .25s var(--ease);
}
.foot__col a:hover { color: var(--text); transform: translateX(-6px); }
.foot__col a:hover::before { opacity: 1; transform: none; }

.support { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1.6 var(--font-fa); color: var(--muted); }
.support[data-open='0'] .live-dot { background: var(--dim); }
.support[data-open='1'] { color: var(--text); box-shadow: inset 0 0 0 1px rgba(0, 186, 136, .4); }
/* each contact is a link that does the thing (owner request 2026-10-26): mailto, Telegram, tel — no copy buttons */
.contact { display: flex; flex-direction: column; gap: 2px; align-self: stretch; }
.foot__col .contact a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 40px; margin-inline: -10px; padding-inline: 10px; border-radius: 10px; color: var(--text); transition: background .2s; }
.foot__col .contact a::before { content: none; }
.foot__col .contact a:hover { transform: none; background: var(--surface); }
.contact span { color: var(--dim); min-width: 52px; }
.contact b { font-weight: 500; overflow-wrap: anywhere; }
.contact__go { flex: none; margin-inline-start: auto; color: var(--dim); transition: color .2s; }
.contact a:hover .contact__go { color: var(--accent); }
.foot__social { margin-top: 6px; }
.foot__col .foot__social a::before { content: none; }
.foot__col .foot__social a:hover { transform: translateY(-3px); }

.foot__bar { position: relative; display: flex; align-items: center; gap: 20px; padding-block: 18px 22px; margin-top: 36px; border-top: 1px solid var(--line); font: 400 13px/1.6 var(--font-fa); color: var(--dim); }
.foot__ver { margin-inline-start: auto; }
.totop {
  display: grid;
  place-items: center;
  width: 46px;
  height: 51px;
  flex: none;
  background: var(--accent);
  color: var(--on-accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform .3s var(--ease), filter .2s;
}
.totop .icon { transform: rotate(180deg); }
.totop:hover { transform: translateY(-4px); filter: brightness(1.1); }

@media (max-width: 960px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand, .foot__contact { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot__grid { gap: 32px 20px; padding-top: 40px; }
  .foot__bar { flex-wrap: wrap; gap: 6px 14px; }
}

@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: pz-marquee 36s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes pz-marquee { to { transform: translateX(50%); } }   /* rtl: the copy on the left slides in */
  .live-dot { animation: pz-live 2s ease-out infinite; }
  .support[data-open='0'] .live-dot { animation: none; }
  @keyframes pz-live { 0% { box-shadow: 0 0 0 0 rgba(0, 186, 136, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(0, 186, 136, 0); } }
  .totop .icon { transition: transform .3s var(--ease); }
  .totop:hover .icon { transform: rotate(180deg) translateY(3px); }
}

/* ==== Toast ==== */
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line);
  font: var(--t-small);
  animation: toast-in .35s var(--ease);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ==== Icons: their box is reserved before js/site.js fills them in (no layout shift) ==== */
i[data-icon][data-size='18'] { width: 18px; height: 18px; }
i[data-icon][data-size='20'] { width: 20px; height: 20px; }
i[data-icon][data-size='22'] { width: 22px; height: 22px; }
i[data-icon][data-size='24'] { width: 24px; height: 24px; }
i[data-icon][data-size='26'] { width: 26px; height: 26px; }
i[data-icon][data-size='30'] { width: 30px; height: 30px; }
i[data-icon][data-size='40'] { width: 40px; height: 40px; }

/* ==== Header: scroll progress (grows from the right) and the section in view ==== */
.top__progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(270deg, var(--accent), var(--accent-deep));
  transform: scaleX(var(--progress, 0));
  transform-origin: right;
  pointer-events: none;
}
.nav a { position: relative; }
.nav a.is-active { color: var(--accent); }
.nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -10px;
  width: 8px;
  height: 9px;
  margin-inline: auto;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.nav a.is-active::after { transform: scale(1); }

/* ==== Hero honeycomb (js: honeycomb()): drawn on a canvas, cells light up now and then, and in a wave from the
 * power button when the console connects. The CSS honeycomb stays for pages without JS. ==== */
.hero__honey {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  -webkit-mask: radial-gradient(70% 80% at 22% 50%, #000 0, transparent 78%);
  mask: radial-gradient(70% 80% at 22% 50%, #000 0, transparent 78%);
}
.js .hero::before { display: none; }
@media (max-width: 960px) {
  .hero__honey { -webkit-mask: radial-gradient(90% 60% at 50% 78%, #000 0, transparent 78%); mask: radial-gradient(90% 60% at 50% 78%, #000 0, transparent 78%); }
}

/* ==== Power button waves: hexagons that grow out of it (idle: an invitation until the first press; on connect: a
 * burst), like the app's home button ==== */
.power__wave {
  grid-area: 1 / 1;
  width: 104px;
  height: 115px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0;
  pointer-events: none;
}

/* ==== Section reveal (js: reveal()) ==== */
.store, .btn { position: relative; overflow: hidden; }
.store::after, .btn:not(.btn--ghost)::after {        /* a light sweep on hover */
  content: '';
  position: absolute;
  inset: -20% auto -20% -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg) translateX(0);
  opacity: 0;
  pointer-events: none;
}

@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

@media (prefers-reduced-motion: no-preference) {
  /* hero: the copy rises line by line, then the console */
  .js .hero__copy > * { animation: pz-rise .9s var(--ease) both; }
  /* the title and the lead are the page's largest paint (LCP): they rise out of a blur but are never invisible */
  .js .hero__title, .js .hero__lead { animation-name: pz-focus; }
  @keyframes pz-focus { from { transform: translateY(22px); filter: blur(10px); } }
  .js .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .js .hero__copy > :nth-child(5) { animation-delay: .32s; }
  .js .console { animation: pz-console-in 1.1s var(--ease) .2s both; }
  @keyframes pz-rise { from { opacity: 0; transform: translateY(28px); } }
  @keyframes pz-console-in { from { opacity: 0; transform: translateY(44px) scale(.96); } }

  /* typing caret: blinks while the slogan waits, steady while it types */
  .js .typed__caret { animation: pz-caret 1s steps(1) infinite; }
  .typed.is-typing .typed__caret { animation: none; }
  @keyframes pz-caret { 50% { opacity: 0; } }

  /* «پایین‌ترین پینگ»: a light passes over it now and then (right to left) */
  .hero__title em {
    background: linear-gradient(100deg, var(--accent) 0 42%, #FFF6C9 50%, var(--accent) 58% 100%);
    background-size: 250% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pz-shine 7s ease-in-out 1.4s infinite;
  }
  @keyframes pz-shine { 0% { background-position: 0 0; } 28%, 100% { background-position: 100% 0; } }

  /* power: idle invitation, burst on connect */
  .console:not(.is-touched) .power__wave { animation: pz-wave 2.8s var(--ease) infinite; }
  .console:not(.is-touched) .power__wave + .power__wave { animation-delay: .5s; }
  .console.is-burst .power__wave { animation: pz-burst 1.2s var(--ease) both; }
  .console.is-burst .power__wave + .power__wave { animation-delay: .18s; }
  @keyframes pz-wave { 0% { opacity: .3; transform: scale(.9); } 60%, 100% { opacity: 0; transform: scale(1.55); } }
  @keyframes pz-burst { 0% { opacity: .55; transform: scale(.95); } 100% { opacity: 0; transform: scale(2.3); } }

  /* route: packets flowing from the service to the server while connected */
  .console[data-state='on'] .route__line {
    background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px);
    background-size: 28px 2px;
    animation: pz-flow .7s linear infinite;
  }
  @keyframes pz-flow { to { background-position: -28px 0; } }

  /* a readout that changes word (مسدود → باز) flips in */
  .readout dd .is-flip { display: inline-block; animation: pz-flip .55s var(--ease) both; }
  @keyframes pz-flip { from { opacity: 0; transform: perspective(200px) rotateX(85deg) translateY(-6px); } }

  /* reveal on scroll */
  /* hidden at once, shown with a transition (only .is-in has one, so nothing fades out on load) */
  .js .rv { opacity: 0; transform: translateY(30px); }
  .js .rv.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--rv-i, 0) * 90ms); }
  .js .feature.rv .feature__icon { transform: scale(.4) rotate(-30deg); }
  .js .feature.rv.is-in .feature__icon { transform: none; transition: transform .9s var(--ease) calc(var(--rv-i, 0) * 90ms + .15s); }
  .js .feature.rv .feature__icon [stroke] { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .feature.rv.is-in .feature__icon [stroke] { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s ease calc(var(--rv-i, 0) * 90ms + .2s); }

  /* mode cards: a slight 3D tilt toward the pointer, the photo drifts the other way (js: tilt()) */
  .mode { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); will-change: transform; }
  .mode:hover .mode__photo img { transform: scale(1.08) translate(var(--px, 0px), var(--py, 0px)); }

  /* steps: the selectors float, the hexagon breathes */
  .step__ui .pill { animation: pz-float 5s ease-in-out infinite; }
  .step:nth-child(2) .pill { animation-delay: -2.5s; }
  .minihex i { animation: pz-breathe 2.6s ease-in-out infinite; }
  @keyframes pz-float { 50% { transform: translateY(-6px); } }
  @keyframes pz-breathe { 50% { filter: drop-shadow(0 0 14px rgba(252, 198, 5, 1)); transform: scale(1.08); } }

  /* Pro plan: a light runs around its border */
  .plan--pro { position: relative; box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .35), 0 30px 60px -36px rgba(252, 198, 5, .55); }
  .plan--pro::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--spin), var(--accent), transparent 25%, transparent 50%, var(--accent-deep) 70%, var(--accent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pz-spin 5s linear infinite;
    pointer-events: none;
  }
  @keyframes pz-spin { to { --spin: 360deg; } }

  /* download: the logo bobs; hover sweeps */
  .download__logo { animation: pz-float 4.5s ease-in-out infinite; }
  .store:hover::after, .btn:not(.btn--ghost):hover::after { opacity: 1; transform: skewX(-18deg) translateX(420%); transition: transform .9s var(--ease), opacity .2s; }
  .operator__inf { animation: pz-breathe-soft 3.2s ease-in-out infinite; }
  @keyframes pz-breathe-soft { 50% { color: var(--accent); } }
}

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