/* PingZone — the product site's server-rendered pages (ADR 0020: /guides, /guides/{slug}, /services/{slug}, /pricing,
 * /faq, /privacy, /terms, /about; server/resources/views/site), on top of the home page's /css/site.css: same warm black,
 * yellow for what you press, the hexagon as the one recurring shape. Ported from the approved mockup
 * (desgin/web-articles css/article.css + css/articles.css); /pricing, /faq and the help pages reuse its parts and the
 * home page's plan cards and FAQ. The site's CSP has no inline styles: the mockup's two style attributes are classes. */

/* ==== Header: «راهنماها» is the current place (the five-link breakpoints are in site.css) ==== */
.nav a[aria-current] { color: var(--accent); }
.nav a[aria-current]::after { transform: scale(1); }

/* ==== Article body typography (.prose: the Markdown the panel writes, App\Domain\Content\SiteMarkdown) ==== */
.prose {
  --p-text: #F3F0E7;
  --p-body: #D9D4C6;             /* long text a step softer than headings: less glare on the warm black */
  --p-muted: #A8A291;
  --p-dim: #6F6A5D;
  --p-line: #2E2B24;
  --p-surface: #1B1A16;
  --p-surface-2: #23211C;
  --p-accent: #FCC605;
  --p-ok: #00BA88;
  --p-mid: #F59E0B;
  --p-hi: #ED4B3E;
  --p-font: 'Peyda', 'Vazirmatn FD', Tahoma, sans-serif;
  --p-latin: 'Inter', 'Vazirmatn FD', system-ui, sans-serif;
  max-width: 41rem;               /* ≈ 70 Persian characters a line at 18px */
  color: var(--p-body);
  font: 400 18px/2.05 var(--p-font);
  overflow-wrap: break-word;
}
@media (max-width: 560px) { .prose { font-size: 17px; line-height: 2; } }

.prose :where(p, ul, ol, h2, h3, table, details) { margin: 0; }   /* zero specificity: the rhythm below wins */
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-child { font-size: 1.08em; color: var(--p-text); }   /* the opening paragraph leads */
.prose strong { font-weight: 600; color: var(--p-text); }
.prose a { color: var(--p-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.prose a:hover { text-decoration-thickness: 2px; }

.prose h2 {
  margin: 2.2em 0 0;
  padding-top: .2em;
  scroll-margin-top: 92px;
  font: 700 clamp(23px, 2.4vw, 27px)/1.55 var(--p-font);
  color: var(--p-text);
  text-wrap: balance;
}
.prose h2 + * { margin-top: .7em; }
.prose > h2:first-child { margin-top: 0; padding-top: 0; }   /* a help page that opens with its first section */
.prose h3 { margin: 1.7em 0 0; font: 700 20px/1.6 var(--p-font); color: var(--p-text); }
.prose h3 + * { margin-top: .5em; }

/* lists: the site's hexagon ticks for bullets, hexagon numbers for steps */
.prose ul, .prose ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .55em; }
.prose * + ul, .prose * + ol { margin-top: .9em; }
.prose li { position: relative; padding-inline-start: 2em; }
.prose ul > li::before {
  content: '';
  position: absolute;
  inset-inline-start: .35em;
  top: .78em;
  width: 11px;
  height: 12px;
  background: var(--p-accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.prose ol { counter-reset: pz-step; }
.prose ol > li { counter-increment: pz-step; padding-inline-start: 2.4em; }
.prose ol > li::before {
  content: counter(pz-step, persian);
  position: absolute;
  inset-inline-start: 0;
  top: .3em;
  display: grid;
  place-items: center;
  width: 1.55em;
  height: 1.7em;
  background: var(--p-surface-2);
  color: var(--p-accent);
  font: 700 .8em/1 var(--p-font);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* tip box: «> **نکته:** …» */
.prose .tip {
  display: flex;
  gap: 14px;
  margin-block: 1.6em;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(252, 198, 5, .1), var(--p-surface) 65%);
  box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .32);
  font-size: .94em;
  line-height: 1.95;
}
.prose .tip__icon { flex: none; margin-top: .3em; color: var(--p-accent); }
.prose .tip__body { min-width: 0; }
.prose .tip__label { margin-bottom: 2px; font-weight: 700; color: var(--p-accent); }
.prose .tip p { color: var(--p-text); }

/* tables scroll inside their own box on phones; the page never scrolls sideways */
.prose .prose-table {
  margin-block: 1.4em;
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--p-line);
  -webkit-overflow-scrolling: touch;
}
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .88em; line-height: 1.8; }
.prose thead th { padding: 12px 16px; background: var(--p-surface-2); color: var(--p-muted); font-weight: 500; text-align: start; white-space: nowrap; }
.prose tbody th, .prose tbody td { padding: 13px 16px; border-top: 1px solid var(--p-line); text-align: start; vertical-align: top; }
.prose tbody th { font-weight: 600; color: var(--p-text); white-space: nowrap; }
/* ping table: the first column's ranges in the site's ping colours (low = yellow like the console, high = red) */
.prose tbody tr:nth-child(1) th { color: var(--p-accent); }
.prose tbody tr:nth-child(2) th { color: var(--p-mid); }
.prose tbody tr:nth-child(3) th { color: var(--p-hi); }

/* the FAQ section (service pages): the site's accordion */
.prose .prose-faq { margin-top: 2.2em; }
.prose .faq { display: flex; flex-direction: column; margin-top: .9em; border-top: 1px solid var(--p-line); }
.prose .faq details { border-bottom: 1px solid var(--p-line); }
.prose .faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  font: 600 18px/1.7 var(--p-font);
  color: var(--p-text);
  list-style: none;
  cursor: pointer;
}
.prose .faq summary::-webkit-details-marker { display: none; }
.prose .faq summary .icon { color: var(--p-dim); transition: transform .3s cubic-bezier(.16, 1, .3, 1), color .3s; }
.prose .faq details[open] summary .icon { transform: rotate(180deg); color: var(--p-accent); }
.prose .faq details p { padding-bottom: 20px; color: var(--p-muted); font-size: .94em; }

@media (prefers-reduced-motion: reduce) { .prose .faq summary .icon { transition: none; } }

/* ==== The mockup's inline styles, as classes ==== */
.section--flush { padding-top: 0; }
.modetag__logo { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

/* ==== Breadcrumb ==== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: var(--t-small); color: var(--dim); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.crumbs li + li::before { content: '›'; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
@media (max-width: 560px) { .crumbs [aria-current] { max-width: 24ch; } }

/* ==== Page head (guides list, guide, service): honeycomb fading out behind the title ==== */
.phead { position: relative; isolation: isolate; padding-block: clamp(24px, 4vw, 40px) clamp(28px, 4vw, 44px); }
.phead::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--honey) center / 56px 97px;
  opacity: .06;
  -webkit-mask: radial-gradient(60% 100% at 80% 0%, #000 0, transparent 75%);
  mask: radial-gradient(60% 100% at 80% 0%, #000 0, transparent 75%);
}
.phead__in { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.phead__title { font: 700 clamp(36px, 5.4vw, 60px)/1.25 var(--font-fa); letter-spacing: -.01em; text-wrap: balance; }
.phead__lead { max-width: 40em; font: var(--t-lead); color: var(--muted); }

/* mode tag: the mode's icon + its name, a link back to the filtered list */
.modetag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding-inline: 12px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 500 14px/1 var(--font-fa);
  color: var(--muted);
  text-decoration: none;
  transition: color .2s, box-shadow .2s;
}
.modetag .icon { color: var(--accent); }
a.modetag:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .5); }

/* ==== Guides list ==== */
.gfilter { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 42px;
  padding-inline: 14px 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 500 15px/1 var(--font-fa);
  color: var(--muted);
  text-decoration: none;
  transition: color .2s, box-shadow .2s, background .2s;
}
.chip:hover { color: var(--text); }
.chip .icon { color: var(--dim); }
.chip__n { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 6px; border-radius: 999px; background: var(--bg); font-size: 12px; color: var(--dim); }
.chip[aria-pressed='true'] { background: rgba(252, 198, 5, .1); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.chip[aria-pressed='true'] .icon { color: var(--accent); }
.chip[aria-pressed='true'] .chip__n { background: var(--accent); color: var(--on-accent); }
.chip:not([data-mode]) { padding-inline: 16px 10px; }
.gfilter__count { flex: none; font: var(--t-small); color: var(--dim); }
@media (max-width: 760px) {
  .gfilter { display: block; }
  .chips {                       /* one row that scrolls, edge to edge */
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-end) * -1);
    padding-inline: var(--gutter) var(--gutter-end);
    padding-block: 2px;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .gfilter__count { display: none; }
}

.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gcard {
  position: relative;
  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;
  transition: box-shadow .25s;
}
.gcard[hidden] { display: none; }
.gcard:hover, .gcard:focus-within { box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .45); }
.gcard__cover { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.gcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.gcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 20px 20px; }
.gcard__svc { display: flex; align-items: center; gap: 8px; font: 500 13px/1.4 var(--font-fa); color: var(--muted); }
.gcard__svc img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.gcard__svc b { font-weight: 600; color: var(--text); }
.gcard__mode { margin-inline-start: auto; color: var(--dim); }
.gcard__title { font: 700 18px/1.65 var(--font-fa); text-wrap: pretty; }
.gcard__title a { text-decoration: none; }
.gcard__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }   /* the whole card opens the guide */
.gcard__title a:focus-visible { outline: none; }
.gcard__title a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; }
.gcard__desc { font: var(--t-small); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard__date { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font: 400 13px/1.6 var(--font-fa); color: var(--dim); }

/* the newest shown guide spans the row: cover on one side, a bigger title on the other */
@media (min-width: 900px) {
  .gcard.is-lead { grid-column: 1 / -1; flex-direction: row; }
  .gcard.is-lead .gcard__cover { flex: 0 0 56%; align-self: center; border-bottom: 0; border-inline-start: 1px solid var(--line); }
  .gcard.is-lead .gcard__body { justify-content: center; gap: 14px; padding: 28px 32px; }
  .gcard.is-lead .gcard__title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.55; }
  .gcard.is-lead .gcard__desc { font: var(--t-body); -webkit-line-clamp: 3; }
  .gcard.is-lead .gcard__date { margin-top: 6px; }
}
@media (max-width: 1080px) { .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .gcards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  /* related guides on phones: a compact row each (the cover's photo side, the title) */
  .related .gcard { flex-direction: row; }
  .related .gcard__cover { flex: 0 0 36%; aspect-ratio: auto; border-bottom: 0; border-inline-start: 1px solid var(--line); }
  .related .gcard__cover img { object-position: 12% 50%; }
  .related .gcard__body { gap: 6px; padding: 12px 14px 14px; }
  .related .gcard__title { font-size: 15px; line-height: 1.7; }
  .related .gcard__desc, .related .gcard__mode { display: none; }
}

.gempty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.gempty[hidden] { display: none; }
.gempty p { font: var(--t-body); color: var(--muted); }

/* service pages that exist: small logo links under the list */
.svclinks { display: flex; flex-direction: column; gap: 16px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.svclinks__title { font: 700 19px/1.5 var(--font-fa); }
.svclinks ul { display: flex; flex-wrap: wrap; gap: 10px; }
.svclinks a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding-inline: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 15px/1 var(--font-fa);
  text-decoration: none;
  transition: box-shadow .2s;
}
.svclinks a:hover { box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .5); }
.svclinks img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.svclinks small { font: 400 13px/1 var(--font-fa); color: var(--dim); }

/* ==== Guide ==== */
.ghead .phead__title { max-width: 21em; font-size: clamp(30px, 4.3vw, 50px); line-height: 1.42; }
.ghead__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.byline__who { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1.4 var(--font-fa); }
.byline__mark { display: grid; place-items: center; width: 40px; height: 44px; background: var(--surface-2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.byline__mark img { width: 22px; height: auto; }
.byline__item { display: inline-flex; align-items: center; gap: 6px; font: var(--t-small); color: var(--dim); }
.byline__item .icon { color: var(--dim); }
.byline__item time, .byline__item b { font-weight: 500; color: var(--muted); }

.gcover { margin-top: 8px; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -48px rgba(0, 0, 0, .9); }
.gcover img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }

.glayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  grid-template-areas: 'body aside';
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 48px) clamp(56px, 7vw, 88px);
}
.gbody { grid-area: body; min-width: 0; }
.gaside { grid-area: aside; position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }

.toc { border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  font: 600 15px/1.5 var(--font-fa);
  list-style: none;
  cursor: pointer;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { color: var(--dim); transition: transform .3s var(--ease); }
.toc[open] summary .icon { transform: rotate(180deg); }
.toc ol { display: flex; flex-direction: column; padding: 0 18px 16px; }
.toc a {
  display: block;
  padding: 7px 14px;
  margin-inline-start: 2px;
  border-inline-start: 2px solid var(--line);
  font: 400 14px/1.7 var(--font-fa);
  color: var(--muted);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--text); }
.toc a.is-current { color: var(--accent); border-color: var(--accent); }

/* the service this guide is about */
.svccard { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.svccard__head { display: flex; align-items: center; gap: 12px; }
.svccard__logo { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--line); }
.svccard__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svccard__name b { font: 700 16px/1.4 var(--font-fa); }
.svccard__name small { font: 400 13px/1.4 var(--font-fa); color: var(--dim); }
.svccard__label { font: 400 13px/1.5 var(--font-fa); color: var(--dim); }
.flags { display: flex; align-items: center; }
.flags img { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
.flags > * + * { margin-inline-start: -6px; }
.svccard .btn { min-height: 44px; font-size: 15px; }

/* a country without a round flag on the site: its ISO code in the flag's circle */
.flagcode {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 10px/1 var(--font-latin);
  letter-spacing: .02em;
  color: var(--muted);
}
.flags .flagcode { box-shadow: 0 0 0 2px var(--surface), inset 0 0 0 1px var(--line); }
.countries .flagcode { width: 24px; height: 24px; font-size: 9px; }
.pill .flagcode { width: 26px; height: 26px; }

/* download box at the end of the article */
.dlbox {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 22px;
  margin-top: 48px;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: radial-gradient(80% 120% at 100% 0%, rgba(252, 198, 5, .14), transparent 70%), var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .3);
  overflow: hidden;
  isolation: isolate;
}
.dlbox::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--honey) center / 40px 69px; opacity: .05; }
.dlbox .minihex { grid-row: span 2; }
.dlbox__title { font: 700 22px/1.5 var(--font-fa); }
.dlbox__text { font: var(--t-small); color: var(--muted); }
.dlbox__cta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
@media (max-width: 560px) {
  .dlbox { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .dlbox .minihex { grid-row: auto; justify-self: start; }
  .dlbox__cta { grid-column: 1; }
  .dlbox__cta .btn { flex: 1 1 100%; }
}

@media (max-width: 999px) {
  .glayout { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 28px; }
  .gaside { display: contents; }
  .toc { order: 0; }
  .gbody { grid-area: auto; order: 1; }
  .svccard { order: 2; }
}
/* a help page with one section: no table of contents, the text alone */
.glayout--single { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'body'; }

.related { padding-block: clamp(56px, 7vw, 88px); background: var(--bg-2); border-top: 1px solid var(--line); }
.related .section__head { margin-bottom: 28px; }

/* ==== Service page ==== */
.shero { padding-bottom: clamp(48px, 7vw, 96px); }
.shero .phead__in { gap: 0; }
.shero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; margin-top: clamp(24px, 3vw, 36px); }
.shero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.shero__id { display: flex; align-items: center; gap: 14px; }
.hexlogo { position: relative; display: grid; place-items: center; flex: none; width: 76px; height: 84px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); filter: drop-shadow(0 0 14px rgba(252, 198, 5, .45)); }
.hexlogo img { width: 70px; height: 78px; object-fit: cover; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.shero .phead__title { font-size: clamp(36px, 5.2vw, 60px); }
.shero__intro { max-width: 36em; font-size: 17px; }
.shero__intro > p:first-child { font-size: clamp(17px, 1.6vw, 19px); }
.shero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .shero__grid { grid-template-columns: minmax(0, 1fr); } }

/* facts from the catalog, drawn like the home page's console */
.facts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  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);
}
.facts__title { font: 700 16px/1.5 var(--font-fa); color: var(--muted); }
.facts .route { padding: 14px; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.facts .route__line { background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); }
.facts .route__item b { font-family: var(--font-fa); }
.facts__count { flex: none; margin-inline-start: 4px; font: 600 13px/1 var(--font-fa); color: var(--muted); }
.facts dl { display: flex; flex-direction: column; }
.facts dl > div { display: flex; flex-direction: column; gap: 8px; padding-block: 14px; border-top: 1px solid var(--line); }
.facts dt { font: var(--t-small); color: var(--dim); }
.facts dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; font: 500 15px/1.6 var(--font-fa); }
.facts dd .icon { color: var(--accent); }
.countries { display: flex; flex-wrap: wrap; gap: 6px; }
.countries li { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding-inline: 4px 10px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1 var(--font-fa); }
.countries img { width: 24px; height: 24px; border-radius: 50%; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.tiers li { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.tiers b { font: 700 14px/1.4 var(--font-fa); }
.tiers small { font: 400 12px/1.5 var(--font-fa); color: var(--dim); }
.tiers .is-need { background: rgba(252, 198, 5, .08); box-shadow: inset 0 0 0 1.5px var(--accent); }
.tiers .is-need small { color: var(--accent); }
.tiers .is-none { opacity: .45; }
.facts__note { font: 400 12px/1.7 var(--font-fa); color: var(--dim); }
@media (max-width: 420px) { .facts { padding: 16px; } }

.sfaq .prose { max-width: none; }
.sfaq .prose-faq { margin-top: 0; }
.sfaq .prose-faq > h2 { display: none; }        /* the section has its own heading */

/* ==== FAQ (/faq): the home page's accordion, one block per category ==== */
.faqnav { align-self: stretch; margin-top: 6px; }   /* the head's column, so the row scrolls on phones */
.faqgroup { scroll-margin-top: 92px; }
.faqgroup + .faqgroup { margin-top: clamp(40px, 5vw, 64px); }
.faqgroup__title { margin-bottom: 12px; font: var(--t-h3); font-size: 21px; }
.faq details p + p { margin-top: -14px; }

/* ==== Pricing (/pricing): the home page's plan cards; each length is a row that opens the checkout ==== */
.prices { display: flex; flex-direction: column; gap: 8px; }
.price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow .2s, background .2s;
}
.price:hover { background: rgba(252, 198, 5, .05); box-shadow: inset 0 0 0 1px rgba(252, 198, 5, .55); }
.price__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.price__len { font: 700 16px/1.5 var(--font-fa); }
.price__save { padding: 3px 8px; border-radius: 999px; background: rgba(252, 198, 5, .12); font: 600 12px/1.4 var(--font-fa); color: var(--accent); }
.price__amount { display: inline-flex; align-items: baseline; gap: 6px; margin-inline-start: auto; }
.price__amount s { font: 400 13px/1 var(--font-fa); color: var(--dim); }
.price__amount b { font: 700 22px/1.2 var(--font-fa); font-variant-numeric: tabular-nums; }
.price__amount small { font: 400 13px/1 var(--font-fa); color: var(--muted); }
.price__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; font: 400 13px/1.7 var(--font-fa); color: var(--dim); }
.price__buy { display: inline-flex; align-items: center; gap: 2px; margin-inline-start: auto; font-weight: 600; color: var(--accent); }
.price__buy .icon { transition: transform .2s var(--ease); }
.price:hover .price__buy .icon { transform: translateX(-3px); }
.plan--pro .price { background: rgba(15, 14, 12, .72); }
.section--pricing .ticks { align-content: start; }   /* the free card is the shortest: its ticks stay together */

@media (prefers-reduced-motion: reduce) {
  .price__buy .icon, .toc summary .icon { transition: none; }
}
