/* rizkharj.com — single stylesheet. Mobile-first, logical properties for RTL. */

:root {
  --navy: #253547;
  --navy-deep: #062A52;
  --navy-2: #374E67;
  --green: #3AAC90;
  --green-hover: #33A085;
  --green-dark: #157F65;
  --green-bright: #00C080;
  --green-tint: #E6F5F0;
  --mint: #A9E6D2;
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --text: #253547;
  --muted: #5C6875;
  --line: #E2E7ED;
  --orange: #FF7B51;
  --bezel: #0F1720;
  --on-dark-muted: #C5CFDA;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(37, 53, 71, .05), 0 6px 20px -8px rgba(37, 53, 71, .12);
  --shadow-md: 0 2px 6px rgba(37, 53, 71, .06), 0 24px 48px -20px rgba(37, 53, 71, .28);
  --shadow-phone: 0 30px 60px -22px rgba(6, 42, 82, .5), 0 8px 20px -10px rgba(6, 42, 82, .3);

  --container: 1120px;
  --gutter: 20px;
  --header-h: 64px;
  --phone-w: 232px;   /* outer width of the hero front phone */
  --phone-sm-w: 216px; /* outer width of gallery phones */
  --bleed: 56px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-base: 1rem;
  --lh-base: 1.6;
  --ls-head: -0.02em;
}

html[lang="fa"] {
  --font-body: "Vazirmatn", "Vazir", Tahoma, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-head: var(--font-body);
  --fs-base: 1.0625rem;
  --lh-base: 1.8;
  --ls-head: 0;
}
/* Persian fragments on the de/en pages (language switcher, language hint): Inter has no Arabic glyphs,
   so use Vazirmatn (a 500 face is loaded there) instead of the browser's Naskh fallback. */
html:not([lang="fa"]) [lang="fa"] { font-family: "Vazirmatn", "Vazir", Tahoma, "Segoe UI", Roboto, system-ui, sans-serif; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  text-align: start;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  letter-spacing: var(--ls-head);
  line-height: 1.2;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 3.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; border-radius: 4px; } /* 4.9:1 on white, 4.5:1 on --bg */
.band :focus-visible, .hero :focus-visible { outline-color: var(--mint); }
::selection { background: var(--green-tint); color: var(--navy-deep); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.icon { width: 24px; height: 24px; flex: none; }

/* Skip link */
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.25; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--green); color: var(--navy-deep); border-color: var(--green); }
.btn--primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); }
.btn--ghost-dark { color: var(--navy); border-color: var(--line); }
.btn--ghost-dark:hover { background: var(--bg); border-color: var(--muted); }
.btn--sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn--lg { padding: 14px 24px; font-size: 1.05rem; border-radius: 14px; }
[dir="rtl"] .btn .icon, [dir="rtl"] .link-arrow .icon { transform: scaleX(-1); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}
.header-inner--simple .lang-nav { margin-inline-start: auto; }
.logo { display: inline-flex; align-items: center; color: inherit; }
.logo:hover { text-decoration: none; }
.logo-svg { height: 32px; width: auto; direction: ltr; }
.logo-svg text {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 800; letter-spacing: -1px;
}
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-inline-end: -8px;
  background: transparent; border: 0; border-radius: 10px; color: var(--navy); cursor: pointer;
}
.menu-btn:hover { background: var(--bg); }
.menu-btn__close { display: none; }
.site-header.is-open .menu-btn__open { display: none; }
.site-header.is-open .menu-btn__close { display: inline-flex; }

.nav-panel { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-inline: auto; }
.main-nav a {
  color: var(--navy); font-weight: 500; font-size: .95rem; padding: 6px 2px; border-radius: 6px;
}
.main-nav a:hover { color: var(--green-dark); text-decoration: none; }
.lang-nav {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.lang-nav a {
  padding: 4px 10px; border-radius: 999px; font-size: .84rem; font-weight: 500; color: var(--muted);
  line-height: 1.5;
}
.lang-nav a:hover { color: var(--navy); text-decoration: none; background: var(--bg); }
.lang-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.header-cta { flex: none; }
.header-cta .icon { display: none; } /* icon-only variant is used on tablets, see below */

/* Language hint (shown by site.js when the remembered language differs) */
.lang-hint { background: var(--green-tint); border-bottom: 1px solid #CDE9DF; }
.lang-hint__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; font-size: .92rem; }
.lang-hint__inner a { font-weight: 600; color: var(--navy); } /* navy: 11.6:1 on the tint (green-dark was 4.39:1) */
.lang-hint__close {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 0; background: transparent; border-radius: 8px; color: var(--muted); cursor: pointer;
}
.lang-hint__close .icon { width: 18px; height: 18px; }
.lang-hint__close:hover { background: rgba(37, 53, 71, .08); color: var(--navy); }
/* While the hint is open the sticky header is 45px taller (44px row + 1px border): keep anchor targets below it. */
html:has(.site-header .lang-hint:not([hidden])) { scroll-padding-top: calc(var(--header-h) + 45px + 12px); }

/* Header breakpoints: with five section links the German nav needs ~830px in the compact layout and
   ~1050px in the full one, so the menu button stays up to 899.98px, the compact one-line layout runs
   900-1079.98px and the full layout starts at 1080px (site.js closes the menu at the same 900px edge). */
@media (min-width: 900px) and (max-width: 1079.98px) {
  /* tablet: keep logo, nav, language switch and CTA on one line - tighter gaps, smaller logo,
     icon-only CTA (label kept for assistive tech) */
  .header-inner { gap: 16px; }
  .logo-svg { height: 28px; }
  .nav-panel { gap: 12px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: .875rem; }
  .lang-nav a { padding: 4px 7px; font-size: .8rem; }
  .header-cta { padding: 8px 10px; }
  .header-cta .icon { display: block; }
  .header-cta__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}
@media (max-width: 899.98px) {
  .menu-btn { display: inline-flex; }
  .js .nav-panel { display: none; }
  .nav-panel {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 8px var(--gutter) 20px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .js .site-header.is-open .nav-panel { display: flex; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .main-nav a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  /* scoped to the dropdown panel: the simple header (404) keeps the switcher vertically centred */
  .nav-panel .lang-nav { align-self: flex-start; }
  .nav-panel .lang-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; } /* 44px tap targets in the menu */
  .nav-panel .header-cta { align-self: flex-start; min-height: 44px; }
  .header-inner--simple .lang-nav a { padding: 4px 8px; font-size: .8rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px;
  padding-block: 56px 0;
}
.hero-copy { max-width: 600px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  color: var(--mint); font-size: .85rem; font-weight: 600; letter-spacing: .01em;
}
.eyebrow.eyebrow--dark { background: var(--green-tint); border-color: #CDE9DF; color: var(--navy); } /* navy: 11.6:1 on the tint; outranks .notfound-block p */
.lede { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 56ch; margin-bottom: 1.6em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row--center { justify-content: center; }

.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 12px; margin-top: 26px; }
.badge { position: relative; display: inline-flex; border-radius: 8px; }
.badge img { border-radius: 7px; } /* sized by width/height attributes */
/* Play PNGs carry transparent margins (fa/en 41px all round, de 29px top/bottom of 646x250);
   at the displayed 176x68 / 155x60 that is 11px / 7px. Trim them so the flex box equals the visible badge
   (max-width: none, otherwise the global img { max-width: 100% } shrinks the image instead). */
.badge--play img { max-width: none; margin: calc(-1 * var(--play-trim-y, 0px)) calc(-1 * var(--play-trim-x, 0px)); }
html[lang="fa"], html[lang="en"] { --play-trim-x: 11px; --play-trim-y: 11px; }
html[lang="de"] { --play-trim-y: 7px; }
/* Coming-soon state: clearly inactive (not a link), with the status chip as the signal */
.badge--soon img { opacity: .55; filter: grayscale(1); }
.hero .badge--soon img, .band .badge--soon img { opacity: .5; filter: grayscale(1) brightness(1.25); }
.badge__pill {
  position: absolute; top: -12px; inset-inline-end: -6px;
  padding: 2px 9px; border-radius: 999px;
  background: #fff; color: var(--navy); border: 1px solid var(--green);
  font-size: .78rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.hero-visual { display: flex; justify-content: center; margin-bottom: calc(-1 * var(--bleed)); }
.phone-pair {
  position: relative;
  width: calc(var(--phone-w) + 64px);
  padding-top: 36px;
}
.phone {
  background: var(--bezel); border: 10px solid var(--bezel); border-radius: 44px;
  box-shadow: var(--shadow-phone);
}
.phone img { border-radius: 34px; background: #fff; width: 100%; }
.phone--front { position: relative; z-index: 2; width: var(--phone-w); }
.phone--back {
  position: absolute; top: 0; inset-inline-end: 0; z-index: 1;
  width: calc(var(--phone-w) * .9);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.phone--sm { width: var(--phone-sm-w); margin-inline: auto; }

@media (min-width: 560px) {
  :root { --phone-w: 260px; --bleed: 72px; }
}
@media (min-width: 760px) {
  :root { --phone-w: 280px; --bleed: 96px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center; gap: 32px; padding-block: 72px 0;
  }
  .hero-visual { justify-content: flex-end; align-self: end; }
  .phone-pair { padding-top: 44px; width: calc(var(--phone-w) + 84px); margin-inline-end: 12px; }
  .hero-copy { padding-bottom: var(--bleed); }
}
@media (min-width: 1000px) {
  :root { --phone-w: 300px; --bleed: 120px; }
  .hero-inner { padding-block: 88px 0; gap: 48px; }
  .hero-copy { padding-bottom: calc(var(--bleed) + 24px); }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px;
  padding-block: 28px;
}
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--green-dark);
}
.trust-icon .icon { width: 22px; height: 22px; }
.trust-text { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.trust-text strong { color: var(--navy); font-size: .95rem; }
@media (min-width: 760px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 32px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head--start { margin-inline: 0; text-align: start; }
@media (min-width: 760px) {
  .section { padding-block: 96px; }
  .section-head { margin-bottom: 52px; }
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  background: var(--green-tint); color: var(--green-dark);
}

/* Features */
.features { background: var(--bg); }
.feature-grid { list-style: none; display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (min-width: 560px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

/* Currencies: 8 hero chips, then the full list grouped by region (regions 3+ fold away on phones) */
.currencies { background: var(--surface); }
.section-head .eyebrow { font-size: .85rem; margin: 0 0 16px; }
.eyebrow .icon { width: 16px; height: 16px; }
.cur-hero {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-bottom: 28px;
}
.cur-hero__chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0;
  padding: 16px 14px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.cur-hero__sym {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; line-height: 1.15;
  color: var(--navy); letter-spacing: -.01em; max-width: 100%; overflow-wrap: anywhere;
}
html[lang="fa"] .cur-hero__sym { font-size: 1.35rem; }
.cur-hero__name { font-size: .9rem; line-height: 1.35; color: var(--text); }
.cur-hero__code { font-size: .75rem; font-weight: 600; letter-spacing: .05em; color: var(--muted); }
.cur-panel {
  padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg);
}
.cur-region + .cur-region { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.cur-region__title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 12px;
  font-size: 1rem; font-weight: 700; color: var(--navy);
}
.cur-region__count {
  padding: 1px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: .78rem; font-weight: 600; line-height: 1.5; color: var(--muted);
}
.cur-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cur-chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0;
  padding-block: 4px; padding-inline: 4px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: .9rem; line-height: 1.4; color: var(--text);
}
.cur-chip code {
  flex: none; padding: 3px 8px; border-radius: 999px; background: var(--bg);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .74rem; font-weight: 700; letter-spacing: .03em; line-height: 1.2; color: var(--navy);
  unicode-bidi: isolate;
}
.cur-chip span { min-width: 0; overflow-wrap: anywhere; }
/* <details> without content works as a no-JS toggle; :has() hides regions 3+ while it is closed (phones only).
   Browsers without :has() simply show the whole list and never get the toggle. */
.cur-toggle { display: none; }
@supports selector(.a:has(.b)) {
  @media (max-width: 759.98px) {
    .cur-toggle { display: block; margin-top: 18px; }
    .cur-regions:has(.cur-toggle:not([open])) .cur-region--more { display: none; }
  }
}
.cur-toggle summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  font-weight: 600; color: var(--navy); cursor: pointer; list-style: none;
}
.cur-toggle summary::-webkit-details-marker { display: none; }
.cur-toggle summary:hover { color: var(--green-dark); }
.cur-toggle summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.cur-toggle__less, .cur-toggle[open] .cur-toggle__more { display: none; }
.cur-toggle[open] .cur-toggle__less { display: inline; }
.cur-toggle[open] summary .icon { transform: rotate(180deg); }
.cur-note { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }
.cur-note a { font-weight: 600; }
@media (min-width: 560px) {
  .cur-hero { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cur-panel { padding: 24px; }
}
@media (min-width: 1000px) {
  .cur-hero { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; margin-bottom: 36px; }
  .cur-panel { padding: 28px 32px; }
}

/* Screenshots gallery */
.screens { background: var(--surface); }
.gallery {
  list-style: none; display: flex; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-block: 12px 24px;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.gallery:focus-visible { outline-offset: -3px; border-radius: 0; } /* full-bleed: draw the ring inside the viewport */
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.gallery-item { flex: 0 0 auto; width: var(--phone-sm-w); scroll-snap-align: center; }
.gallery figure { margin: 0; }
.gallery figcaption {
  margin-top: 16px; font-size: .9rem; color: var(--muted); text-align: center; line-height: 1.5;
  padding-inline: 4px;
}
@media (min-width: 760px) {
  :root { --phone-sm-w: 236px; }
  .gallery { gap: 32px; }
  .gallery-item { scroll-snap-align: start; }
}

/* Dark bands (privacy, final CTA) */
.band { background: var(--navy); color: #fff; }
.band h2 { color: #fff; }
.band-sub { color: var(--on-dark-muted); font-size: 1.05rem; }
.band .link-arrow { color: var(--mint); }
.band-inner { display: grid; grid-template-columns: 1fr; gap: 36px; }
.band-copy { max-width: 480px; }
.check-list { list-style: none; display: grid; gap: 18px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: #fff; }
.check-list li > span:last-child { color: #E6ECF2; }
.check {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 30px; height: 30px; border-radius: 999px; margin-top: 1px;
  background: var(--green); color: var(--navy-deep);
}
.check .icon { width: 18px; height: 18px; stroke-width: 2.5; }
@media (min-width: 760px) {
  .band-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
}

/* Install */
.install { background: var(--bg); }
.install-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.install-col h3 { margin-bottom: .8em; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li { position: relative; padding-inline-start: 38px; counter-increment: step; line-height: 1.5; }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: 0;
  width: 26px; height: 26px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; line-height: 1;
  font-family: var(--font-body);
}
html[lang="fa"] .steps li::before { content: counter(step, persian); } /* ۱ ۲ ۳ like every other number on the fa page */
.install-note {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
}
@media (min-width: 760px) { .install-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* FAQ */
.faq { background: var(--surface); }
.faq-inner { display: grid; grid-template-columns: 1fr; gap: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
  border-radius: 6px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-dark); }
.faq-item summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 4px 20px; color: var(--muted); max-width: 70ch; }
.faq-answer p { margin: 0; }
@media (min-width: 900px) {
  .faq-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .section-head--start { margin-bottom: 0; }
}

/* Final CTA */
.cta-inner { text-align: center; max-width: 640px; }
.cta-inner .band-sub { margin-bottom: 1.6em; }
.cta-inner .badges { justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 48px 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-brand .logo-svg { height: 30px; }
.footer-tagline { margin: 16px 0 4px; font-weight: 600; color: var(--navy); }
.footer-made { margin: 0; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.footer-nav a { color: var(--navy); font-weight: 500; }
.footer-nav a:hover { color: var(--green-dark); }
.imprint { color: var(--muted); line-height: 1.7; }
.imprint strong { color: var(--navy); }
.imprint a { color: var(--green-dark); unicode-bidi: embed; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem;
}
.site-footer--simple { padding-block: 24px; }
.site-footer--simple .footer-bottom { margin-top: 0; padding-top: 14px; }
/* 404: compact legal links + imprint line above the copyright row */
.footer-nav.footer-nav--inline { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; margin-bottom: 12px; }
.footer-nav--inline span { color: var(--muted); }
.imprint--inline { font-size: .88rem; margin-bottom: 14px; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
  .footer-nav { flex-direction: column; gap: 10px; }
}

/* ---------- Legal pages ---------- */
.legal-inner { max-width: calc(70ch + 2 * var(--gutter)); padding-block: 48px 72px; }
.legal h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); }
.legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.legal-intro { font-size: 1.1rem; color: var(--muted); margin-bottom: 2em; }
.legal-intro:has(+ .legal-contact) { margin-bottom: .5em; }
.legal-contact { font-size: 1rem; color: var(--muted); margin-bottom: 2.2em; }
.legal-extra { margin-top: 2.6em; padding-top: 1.8em; border-top: 1px solid var(--line); }
.legal-extra h2 { font-size: 1.4rem; margin-bottom: .7em; }
.legal-body { font-size: 1.02rem; line-height: 1.75; }
.legal-body p { margin-bottom: 1.2em; }
.legal-body ul { list-style: disc; padding-inline-start: 1.3em; margin-bottom: 1.4em; display: grid; gap: .6em; }
.legal-body li::marker { color: var(--green-dark); }
.legal-back { margin-top: 2.5em; }
@media (min-width: 760px) { .legal-inner { padding-block: 72px 96px; } }

/* ---------- 404 ---------- */
.notfound .container { max-width: 760px; }
.notfound-block { padding-block: 28px; border-bottom: 1px solid var(--line); }
.notfound-block:last-child { border-bottom: 0; }
.notfound-block[lang="de"], .notfound-block[lang="en"] {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ls-head: -0.02em;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
}
.notfound-block h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); }
.notfound-block h2 { font-size: 1.5rem; }
.notfound-block p { color: var(--muted); }
.notfound-block .cta-row { margin-top: 1.2em; }

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