/* The marketing site (design v4, approved 2026-11-11). Ported from
   ui-review/2026-11-11/website-design-v4/mock/site.css; the additions for the
   static build (no inline style, no-JS menus, picture elements) are at the end. */
@font-face { font-family: 'Vazirmatn'; src: url(/assets/fonts/vazirmatn/Vazirmatn-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap }
@font-face { font-family: 'Vazirmatn'; src: url(/assets/fonts/vazirmatn/Vazirmatn-Bold.woff2) format('woff2'); font-weight: 700 900; font-display: swap }
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter/Inter-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF }
@font-face { font-family: 'Meow Script'; src: url(/assets/fonts/meow/MeowScript-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap }
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter/Inter-Bold.woff2) format('woff2'); font-weight: 700 900; font-display: swap; unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF }

/* Inter carries a unicode-range so a Persian page (Vazirmatn first) never
   downloads it for a check mark or an arrow. Two weights per family (website
   review M13): a 600–650 weight is drawn with the Bold face, so a page loads
   two font files, not three. Inter is subset to Latin, Latin Extended and
   Cyrillic (tools/subset-fonts.sh). */

/* One dark primary (deep navy) + one accent (signal coral). */
:root {
  --bg: #f5f7fc; --bg-2: #eaeef8; --surface: #ffffff; --surface-2: #f8f9fd; --text: #0c1431; --muted: #586283; --line: #e0e5f1;
  --ink: #0b1433; --ink-2: #121e47; --ink-3: #1a2a5e; --ink-text: #eef2ff; --ink-muted: #a6b1d3; --ink-line: rgba(255,255,255,.12);
  --accent: #ff6a3d; --accent-2: #ff8a63; --accent-soft: #fff0ea; --accent-ink: #b23a14; --on-accent: #0b1433;
  --ok: #1f9d6b;
  --shadow: 0 30px 70px -28px rgba(11,20,51,.38), 0 8px 22px -10px rgba(11,20,51,.18);
  --shadow-s: 0 10px 30px -14px rgba(11,20,51,.28);
  --radius: 22px; --maxw: 1240px; --font: 'Inter', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #070c1f; --bg-2: #0b1230; --surface: #0f1838; --surface-2: #121c42; --text: #e8ecfa; --muted: #9aa5c9; --line: #1f2a55;
  --ink: #050a1a; --ink-2: #0c1532; --ink-3: #15224d; --accent-soft: #2a1710; --accent-ink: #ff8a63; --shadow: 0 30px 70px -28px rgba(0,0,0,.8), 0 8px 22px -10px rgba(0,0,0,.5); --shadow-s: 0 10px 30px -14px rgba(0,0,0,.7); color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #070c1f; --bg-2: #0b1230; --surface: #0f1838; --surface-2: #121c42; --text: #e8ecfa; --muted: #9aa5c9; --line: #1f2a55;
  --ink: #050a1a; --ink-2: #0c1532; --ink-3: #15224d; --accent-soft: #2a1710; --accent-ink: #ff8a63; --shadow: 0 30px 70px -28px rgba(0,0,0,.8), 0 8px 22px -10px rgba(0,0,0,.5); --shadow-s: 0 10px 30px -14px rgba(0,0,0,.7); color-scheme: dark }
[dir="rtl"] { --font: 'Vazirmatn', 'Inter', system-ui, sans-serif }

* { box-sizing: border-box }
html, body { margin: 0; overflow-x: clip }
body { background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased }
img { max-width: 100%; display: block }
/* `hidden` wins over any display rule (a .cpanel is display: grid). */
[hidden] { display: none !important }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0 }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px }
.num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.1 }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.32 }
h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 900 }
h1 .l2 { display: block; color: var(--accent-ink) }
h2 { font-size: clamp(30px, 3.7vw, 50px); font-weight: 850 }
h3 { font-size: 21px; font-weight: 750 }
p { margin: 0 }
.kicker { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px }
[dir="rtl"] .kicker { text-transform: none; letter-spacing: 0; font-size: 15px }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 3px; background: var(--accent) }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; margin-top: 18px }
section { position: relative }
.sec { padding: 110px 0 }
.sec-tight { padding: 70px 0 }
.center { text-align: center } .center .lead { margin-inline: auto }
.dark { background: var(--ink); color: var(--ink-text) } .dark .lead { color: var(--ink-muted) } .dark .kicker { color: var(--accent-2) }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; padding: 15px 24px; font-weight: 750; font-size: 16.5px; transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -14px rgba(255,106,61,.9) }
.btn-accent:hover { transform: translateY(-2px); background: var(--accent-2) }
.btn-ghost { border: 1.5px solid var(--line); background: var(--surface) }
.dark .btn-ghost { background: transparent; border-color: var(--ink-line); color: var(--ink-text) }
.btn-ink { background: var(--ink); color: #fff }
:root[data-theme="dark"] .btn-ink { background: var(--ink-3) }
.btn svg { width: 18px; height: 18px } [dir="rtl"] .arr { transform: scaleX(-1) }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 750; color: var(--accent-ink); margin-top: 22px } .link svg { width: 17px; height: 17px }
.dark .link { color: var(--accent-2) }

/* header */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.5) blur(16px); background: color-mix(in srgb, var(--bg) 84%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s }
.top.scrolled { border-color: var(--line) }
.top .wrap { display: flex; align-items: center; gap: 26px; height: 74px }
.logo { display: flex; align-items: center; gap: 9px; white-space: nowrap; flex: none }
.nav { display: flex; gap: 4px; flex: 1 } .nav a { padding: 8px 13px; border-radius: 10px; font-weight: 600; font-size: 15.5px; color: var(--muted) } .nav a:hover, .nav a.on { color: var(--text); background: var(--bg-2) }
.tools { display: flex; align-items: center; gap: 10px }
.langsel select { appearance: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; color: var(--text) }
.iconbtn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line) } .iconbtn svg { width: 19px; height: 19px }
.signin { font-weight: 650; font-size: 15.5px; padding: 8px 6px }
.top .btn { padding: 11px 18px; font-size: 15px }
.burger { display: none }
.mnav { display: none; position: fixed; inset: 74px 0 auto; z-index: 49; background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 20px 24px; box-shadow: var(--shadow) }
.mnav.open { display: grid; gap: 4px } .mnav a { padding: 12px 6px; font-weight: 650; border-bottom: 1px solid var(--line) } .mnav .btn { margin-top: 12px; justify-content: center }

/* hero */
.hero { padding: 54px 0 70px; overflow: clip }
.hero .grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center }
.ai-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-s); margin-bottom: 26px }
[dir="rtl"] .ai-badge { padding: 6px 6px 6px 14px }
.ai-badge b { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; padding: 5px 11px; border-radius: 999px; font-size: 13px; letter-spacing: .02em; direction: ltr }
.ai-badge b svg { width: 14px; height: 14px; color: var(--accent) }
.easy { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-s); max-width: 560px }
.easy .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center } .easy .ic svg { width: 24px; height: 24px }
.easy b { display: block; font-size: 19px; font-weight: 800; line-height: 1.3 } .easy span { color: var(--muted); font-size: 15.5px }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0 }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--muted) }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px }
.cta-note { font-size: 14px; color: var(--muted); width: 100% }
.heritage { display: flex; gap: 12px; align-items: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); font-weight: 600; max-width: 560px }
.heritage .road { display: inline-flex; gap: 4px; flex: none } .heritage .road i { width: 9px; height: 9px; border-radius: 3px; background: var(--line) } .heritage .road i:last-child { background: var(--accent) }

.stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 620px; justify-self: end; width: 100% }
.collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px }
.collage .p1 { grid-row: 1 / 3 } .collage > div { border-radius: 26px; overflow: hidden; position: relative }
.fcard { position: absolute; z-index: 3; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line) }
.fcard header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; font-size: 12.5px; font-weight: 700; border-bottom: 1px solid var(--line); background: var(--surface) }
.fcard header .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent) }
/* A floating card shows the TOP of the screen at full width: the image keeps its ratio and the card cuts
   only its bottom (never a side, never a stretch — 2026-11-12). */
.fcard .shot { height: 100%; overflow: hidden; background: #fff } .fcard img { width: 100%; height: auto }
.fc-inv { width: 64%; height: 38%; top: 6%; inset-inline-start: -10% }
.fc-stock { width: 52%; height: 30%; bottom: 7%; inset-inline-end: -6% }
.chip-posted { position: absolute; z-index: 4; top: 47%; inset-inline-start: -4%; display: flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap }
.chip-posted i { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; font-style: normal; font-size: 13px }
.ai-bubble { position: absolute; z-index: 4; top: 2%; inset-inline-end: 3%; width: 54%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 13.5px }
.ai-bubble .q { background: var(--bg-2); border-radius: 12px; padding: 7px 11px; font-weight: 600; width: fit-content; margin-inline-start: auto }
.ai-bubble .a { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-weight: 750 } .ai-bubble .a svg { width: 18px; height: 18px; color: var(--accent); flex: none }

/* photo placeholders */
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; background: linear-gradient(160deg, #2a3a72, #0b1433 75%) }
.ph::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(255,106,61,.35), transparent 55%), repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px) }
.ph.v2 { background: linear-gradient(160deg, #31507a, #10203f 75%) } .ph.v3 { background: linear-gradient(160deg, #4a3e6e, #161233 75%) } .ph.v4 { background: linear-gradient(160deg, #2c5c62, #0c2228 75%) }
.ph svg { position: absolute; width: 34%; max-width: 120px; top: 50%; left: 50%; transform: translate(-50%, -62%); opacity: .5 }
.ph .lbl { position: relative; font-weight: 750; font-size: 14px } .ph .sub { position: relative; font-size: 12px; opacity: .7 }
.photo-in { position: absolute; inset: 0 } .photo-in img.real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2 }

/* trust band */
.trust { padding: 0 0 30px }
.trust .card { background: var(--ink); color: var(--ink-text); border-radius: 28px; padding: 34px 40px; display: grid; grid-template-columns: auto auto 1fr; gap: 44px; align-items: center; position: relative; overflow: hidden }
.trust .card::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,61,.28), transparent 65%); inset-inline-end: -120px; top: -160px }
.trust .big b { display: block; font-size: 54px; font-weight: 900; line-height: 1; color: #fff } .trust .big span { color: var(--ink-muted); font-size: 15px }
.trust .road { display: flex; align-items: center; gap: 0; direction: ltr } .trust .road span { padding: 8px 14px; border: 1px solid var(--ink-line); border-radius: 10px; font-weight: 750; font-size: 14px; background: var(--ink-2) }
.trust .road span:last-child { background: var(--accent); color: var(--on-accent); border-color: var(--accent) } .trust .road i { width: 26px; height: 2px; background: var(--ink-line) }
.trust .roadt { font-size: 13.5px; color: var(--ink-muted); margin-top: 10px }
.trust .facts { display: flex; gap: 26px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1 } .trust .facts div b { display: block; font-size: 26px; font-weight: 850; color: #fff } .trust .facts div span { font-size: 13.5px; color: var(--ink-muted) }

/* trades */
.trades .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 38px }
.tgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-s) }
.tile .im { aspect-ratio: 4 / 3; position: relative } .tile .ph { padding: 10px } .tile .ph .lbl { font-size: 11.5px } .tile .ph .sub { display: none } .tile .ph svg { width: 30% }
.tile .tx { padding: 12px 14px 14px } .tile b { display: block; font-size: 15.5px; font-weight: 750; line-height: 1.35 } .tile span { font-size: 13px; color: var(--muted) }
.tile.all { background: var(--ink); color: #fff; justify-content: center; align-items: center; text-align: center; padding: 20px; font-weight: 800; gap: 10px; border-color: var(--ink) } .tile.all svg { width: 26px; height: 26px; color: var(--accent) }
:root[data-theme="dark"] .tile.all { background: var(--ink-3) }

/* ease */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center }
.ilist { display: grid; gap: 22px; margin-top: 34px }
.ilist > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px } .ilist .n { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 850 }
.ilist h3 { font-size: 18px } .ilist p { color: var(--muted); font-size: 15.5px; margin-top: 3px }
.frame { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); direction: ltr }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line) } .frame .bar em { font-style: normal; font-size: 12px; color: var(--muted); margin-inline-start: 10px }
/* An app card is NEVER scaled non-uniformly: height follows the width (the
   width/height attributes only reserve the ratio). A max-height clip below
   crops the bottom; the inline START edge is kept if anything is cropped
   sideways (2026-11-12: the invoice card was squashed, and cut on the left in fa). */
.frame img { width: 100%; height: auto; background: #fff; object-position: top left }
[dir="rtl"] .frame img { object-position: top right }
.frame.clip img { max-height: 520px; object-fit: cover }
.realtag { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 12px } .realtag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok) }

/* no accounting knowledge */
.noacc .card { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: 34px; padding: 64px; box-shadow: var(--shadow); position: relative; overflow: hidden }
.noacc .card::before { content: ''; position: absolute; inset-inline-end: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 66%) }
.noacc .top2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; position: relative }
.noacc h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 900 }
.noacc .flow { margin-top: 46px; display: grid; gap: 12px; position: relative }
.noacc .fh { display: grid; grid-template-columns: 1fr 70px 1.25fr; gap: 16px; font-size: 13px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 0 6px } [dir="rtl"] .noacc .fh { text-transform: none; letter-spacing: 0; font-size: 14px }
.noacc .fr { display: grid; grid-template-columns: 1fr 70px 1.25fr; gap: 16px; align-items: center }
.noacc .do { background: var(--bg-2); border-radius: 16px; padding: 16px 18px; font-weight: 750; font-size: 17px }
.noacc .auto { display: grid; place-items: center; position: relative; height: 100% } .noacc .auto::before { content: ''; position: absolute; inset-inline: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px) }
.noacc .auto span { position: relative; z-index: 1; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 800; padding: 4px 8px; border-radius: 8px }
.noacc .bk { background: var(--ink); color: var(--ink-text); border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; font-size: 15.5px }
:root[data-theme="dark"] .noacc .bk { background: var(--ink-3) }
.noacc .bk i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; font-style: normal; color: #fff; font-size: 14px; font-weight: 800 }
.factrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; position: relative } .factrow span { display: inline-flex; gap: 8px; align-items: center; padding: 9px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; font-size: 15px }
.factrow span::before { content: '✓'; color: var(--ok); font-weight: 900 }

/* security */
.sgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px } .scard .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 12px } .scard .ic svg { width: 20px; height: 20px }
:root[data-theme="dark"] .scard .ic { background: var(--ink-3) }
.scard h3 { font-size: 17px } .scard p { color: var(--muted); font-size: 14.5px; margin-top: 4px }
.dc { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; padding: 12px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 750 } .dc svg { width: 20px; height: 20px }

/* comprehensive tabs */
.ctabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0 26px }
.ctabs button { padding: 11px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--muted) }
.ctabs button.on { background: var(--ink); color: #fff; border-color: var(--ink) } :root[data-theme="dark"] .ctabs button.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent) }
.cpanel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 34px }
.cpanel h3 { font-size: 26px; margin-bottom: 18px }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 }
.pills li { padding: 8px 13px; border-radius: 10px; background: var(--bg-2); font-size: 14.5px; font-weight: 600 }
.pills li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); margin-inline-end: 8px; vertical-align: middle }
.cpanel .frame img { max-height: 430px; object-fit: cover }

/* integrations hub */
.hub { position: relative; border-radius: 22px; background: var(--ink); color: var(--ink-text); padding: 30px; min-height: 380px; display: grid; place-items: center; overflow: hidden }
:root[data-theme="dark"] .hub { background: var(--ink-2) }
.hub .core { width: 150px; height: 150px; border-radius: 40px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; text-align: center; font-weight: 900; font-size: 17px; position: relative; z-index: 2; box-shadow: 0 0 0 14px rgba(255,106,61,.15), 0 0 0 30px rgba(255,106,61,.07) }
.hub .nodes { position: absolute; inset: 0 } .hub .node { position: absolute; transform: translate(-50%, -50%); background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: 14px; padding: 9px 13px; font-size: 13px; text-align: center; white-space: nowrap }
.hub .node b { display: block; font-size: 13.5px; color: #fff } .hub .node span { color: var(--ink-muted); font-size: 12px }
.hub svg.lines { position: absolute; inset: 0; width: 100%; height: 100% }

/* AI section */
.ai-sec { background: var(--ink); color: var(--ink-text); overflow: hidden }
.ai-sec::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,61,.2), transparent 62%); inset-inline-start: -260px; bottom: -340px }
.ai-sec .split { position: relative } .ai-sec h2 { color: #fff }
.ai-sec ul.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px } .ai-sec ul.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600 }
.ai-sec ul.ticks li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,106,61,.18); color: var(--accent-2); display: grid; place-items: center; font-weight: 900 }
.mcp { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 12px 16px; border-radius: 16px; border: 1px dashed var(--ink-line); font-size: 14px; color: var(--ink-muted); direction: ltr }
.mcp b { color: #fff } .mcp i { width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px) }
.chat { background: #ffffff; color: #0f172a; border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); overflow: hidden; border: 1px solid rgba(255,255,255,.1) }
:root[data-theme="dark"] .chat { background: #17181c; color: #ececf1 }
.chat .ch { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(15,23,42,.08) }
:root[data-theme="dark"] .chat .ch { border-color: rgba(255,255,255,.08) }
.chat .ch .app { display: flex; gap: 10px; align-items: center; font-weight: 750; direction: ltr } .chat .ch .app svg { width: 26px; height: 26px }
.chat .ch .conn { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #eafaf2; color: #137a51; display: flex; gap: 6px; align-items: center } .chat .ch .conn::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #1f9d6b }
:root[data-theme="dark"] .chat .ch .conn { background: #11372a; color: #6ee7b7 }
.chat .body { padding: 20px 20px 10px; display: grid; gap: 14px; font-size: 15px }
.chat .u { justify-self: end; background: #f1f3f7; padding: 10px 15px; border-radius: 18px; max-width: 80%; font-weight: 500 }
:root[data-theme="dark"] .chat .u { background: #2c2d33 }
.chat .tool { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: #64748b; background: #f8fafc; border: 1px solid #e2e8f0; padding: 5px 10px; border-radius: 10px; width: fit-content } .chat .tool svg { width: 14px; height: 14px; color: var(--accent) }
:root[data-theme="dark"] .chat .tool { background: #1f2026; border-color: #34353c; color: #9aa0ad }
.chat .a { display: grid; gap: 10px; line-height: 1.6 } .chat .a b { font-weight: 800 }
.chat .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.chat .mini > div { border: 1px solid #e5e7eb; border-radius: 14px; padding: 10px 12px; font-size: 13px } :root[data-theme="dark"] .chat .mini > div { border-color: #34353c }
.chat .mini h4 { margin: 0 0 6px; font-size: 12px; color: #64748b; font-weight: 700 }
.chat .mini .row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0 } .chat .mini .row span:last-child { font-weight: 700; white-space: nowrap }
.chat .mix { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 6px 0 8px } .chat .mix i:nth-child(1) { background: #0b1433 } .chat .mix i:nth-child(2) { background: #ff6a3d } .chat .mix i:nth-child(3) { background: #9aa7c7 }
:root[data-theme="dark"] .chat .mix i:nth-child(1) { background: #8ea2e6 }
.chat .legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px } .chat .legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-inline-end: 5px; background: var(--c) }
.chat table { width: 100%; border-collapse: collapse; font-size: 13.5px } .chat td { padding: 6px 2px; border-bottom: 1px solid #eef0f4 } .chat td:last-child { text-align: right; font-weight: 700; white-space: nowrap } :root[data-theme="dark"] .chat td { border-color: #2c2d33 }
[dir="rtl"] .chat td:last-child { text-align: left }
.chat .in { margin: 8px 16px 16px; border: 1px solid #e2e8f0; border-radius: 16px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; color: #94a3b8; font-size: 14.5px } .chat .in i { width: 30px; height: 30px; border-radius: 50%; background: #0f172a; display: grid; place-items: center; color: #fff; font-style: normal }
:root[data-theme="dark"] .chat .in { border-color: #34353c } :root[data-theme="dark"] .chat .in i { background: #ececf1; color: #17181c }
.chat-note { text-align: center; font-size: 12.5px; color: var(--ink-muted); margin-top: 12px }

/* local */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px }
.lgrid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px } .lgrid .n { font-size: 13px; font-weight: 800; color: var(--accent-ink); margin-bottom: 10px; display: block }
.lgrid h3 { font-size: 18.5px } .lgrid p { color: var(--muted); font-size: 15px; margin-top: 6px } .lgrid a { font-size: 14px; font-weight: 750; color: var(--accent-ink); display: inline-block; margin-top: 10px }

/* theatre */
.theatre { background: var(--ink); color: var(--ink-text); padding: 110px 0 }
.theatre h2 { color: #fff } .theatre .intro { max-width: 720px; margin-bottom: 50px }
.th-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px }
.steps { list-style: none; margin: 0; padding: 0; position: relative; padding-inline-start: 30px }
.steps::before { content: ''; position: absolute; inset-inline-start: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--ink-line) }
.steps .bar { position: absolute; inset-inline-start: 7px; top: 10px; width: 2px; height: 0; background: var(--accent); transition: height .45s }
.step { padding: 26px 0 42vh; opacity: .38; transition: opacity .35s; position: relative } .step:last-child { padding-bottom: 30vh }
.step::before { content: ''; position: absolute; inset-inline-start: -30px; top: 32px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ink-line) }
.step.on { opacity: 1 } .step.on::before { border-color: var(--accent); background: var(--accent) }
.step .t { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; color: var(--accent-2) } .step .t .num { background: rgba(255,106,61,.15); padding: 2px 8px; border-radius: 6px }
.step h3 { color: #fff; font-size: 26px; margin: 8px 0 } .step p { color: var(--ink-muted) }
.screen-col { position: relative } .screen { position: sticky; top: 110px }
.device { border-radius: 20px; background: var(--ink-2); border: 1px solid var(--ink-line); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9) }
.device .bar3 { display: flex; gap: 6px; align-items: center; padding: 11px 14px; direction: ltr } .device .bar3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-line) } .device .bar3 em { font-style: normal; color: var(--ink-muted); font-size: 12px; margin-inline-start: 12px }
.device .vp { position: relative; aspect-ratio: 16 / 11; background: #fff; overflow: hidden } .device .vp img { position: absolute; top: 0; inset-inline: 0; width: 100%; height: auto; opacity: 0; transition: opacity .5s, transform .6s; transform: scale(1.02) } .device .vp img.on { opacity: 1; transform: none }
.screen .tag { position: absolute; bottom: -18px; inset-inline-end: 24px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 14px; font-weight: 800; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow) } .screen .tag small { font-weight: 800; opacity: .8 }
.theatre .real { display: inline-block; font-size: 13px; color: var(--ink-muted); margin-top: 26px }

/* books */
.books .pair { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 10px; align-items: center; margin-top: 44px }
.books .pair .lbl { font-size: 13.5px; font-weight: 750; color: var(--muted); margin-bottom: 10px }
.books .pair .frame img { max-height: 330px; object-fit: cover }
.books .arrow { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--shadow) } .books .arrow svg { width: 28px; height: 28px }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px } .fgrid > div { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line) } .fgrid h3 { font-size: 17px } .fgrid p { color: var(--muted); font-size: 14.5px; margin-top: 4px }

/* switch + pricing teaser */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px }
.panel { border-radius: 28px; padding: 40px; background: var(--surface); border: 1px solid var(--line) } .panel h2 { font-size: clamp(26px, 2.6vw, 36px) }
.panel.ink { background: var(--ink); color: var(--ink-text); border-color: var(--ink) } .panel.ink h2 { color: #fff } .panel.ink .lead { color: var(--ink-muted); font-size: 17px } .panel .lead { font-size: 17px }
:root[data-theme="dark"] .panel.ink { background: var(--ink-2); border-color: var(--line) }
.flow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px } .flow3 div { padding: 14px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-line); font-weight: 650; font-size: 14.5px } .flow3 b { display: block; color: var(--accent-2); font-size: 13px }
:root[data-theme="dark"] .flow3 div { background: var(--ink-3) }
.panel.ink .link { color: var(--accent-2) }
.mini-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px } .mini-plans div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2) } .mini-plans b { display: block; font-size: 15px } .mini-plans .price { font-weight: 850; font-size: 17px }
.mini-plans .hot { border-color: var(--accent); background: var(--accent-soft) }
.amt { white-space: nowrap }

/* faq + final */
.faq .grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0 } .faq summary { font-weight: 750; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px }
.faq summary::after { content: '+'; color: var(--accent-ink); font-size: 24px; line-height: 1 } .faq details[open] summary::after { content: '−' } .faq details p { color: var(--muted); margin-top: 10px }
.final .card { background: var(--ink); color: #fff; border-radius: 34px; padding: 80px 40px; text-align: center; position: relative; overflow: hidden }
:root[data-theme="dark"] .final .card { background: var(--ink-2); border: 1px solid var(--line) }
.final .card::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,61,.35), transparent 65%); left: 50%; top: -300px; transform: translateX(-50%) }
.final h2 { color: #fff; position: relative } .final p { position: relative; color: var(--ink-muted); margin: 14px 0 30px } .final p a { color: #fff; font-weight: 750; text-decoration: underline; text-underline-offset: 4px } .final .btn { position: relative }

/* footer */
footer { padding: 70px 0 30px; border-top: 1px solid var(--line); margin-top: 90px }
footer .grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px } footer h4 { margin: 0 0 12px; font-size: 14px } footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted) }
footer .tag { color: var(--muted); margin-top: 12px; font-size: 15px } footer .mail { display: inline-block; margin-top: 14px; font-weight: 750; color: var(--accent-ink) }
footer .base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted) }

/* inner pages */
.phero { padding: 70px 0 50px } .phero h1 { font-size: clamp(38px, 5vw, 66px) } .crumb { font-size: 14px; font-weight: 700; color: var(--accent-ink); margin-bottom: 16px }
.sol-hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center }
.sol-hero .stage { aspect-ratio: 1 / .86 } .sol-hero .photo { position: absolute; inset: 0 4% 8% 0; border-radius: 28px; overflow: hidden }
[dir="rtl"] .sol-hero .photo { inset: 0 0 8% 4% }
.sol-hero .fc-a { width: 62%; height: 46%; bottom: 0; inset-inline-start: -4% } .sol-hero .fc-b { width: 50%; height: 36%; top: 6%; inset-inline-end: -2% }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px }
.pains > div { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface) } .pains .q { padding: 20px 22px; background: var(--bg-2); font-weight: 700; color: var(--muted); min-height: 96px } .pains .a { padding: 20px 22px; font-weight: 700; display: flex; gap: 12px }
.pains .a::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; margin-top: 2px }
.ans { display: grid; gap: 70px; margin-top: 50px } .arow { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center } .arow:nth-child(even) .im { order: -1 }
.arow .n { font-size: 14px; font-weight: 800; color: var(--accent-ink) } .arow h3 { font-size: 30px; margin: 8px 0 10px } .arow p { color: var(--muted) }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px } .ticks li { display: flex; gap: 10px; font-weight: 600 } .ticks li::before { content: '✓'; color: var(--ok); font-weight: 900 }
.arow .frame img { max-height: 440px; object-fit: cover }
.shape { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px } .shape > div { padding: 22px; border-radius: 20px; background: var(--ink); color: var(--ink-text) } .shape b { display: block; color: #fff; font-size: 17px } .shape span { color: var(--ink-muted); font-size: 14.5px }
:root[data-theme="dark"] .shape > div { background: var(--ink-2); border: 1px solid var(--line) }
.planbox { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 24px; border: 2px solid var(--accent); background: var(--accent-soft) }
.planbox .price { font-size: 30px; font-weight: 900 }
.hubgrid { display: grid; gap: 40px; margin-top: 30px } .hubgrid h3 { font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px } .hubgrid h3 small { font-size: 13px; color: var(--muted); font-weight: 600 }
.hubgrid .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px }
.hubgrid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700 } .hubgrid a.has { border-color: var(--accent); box-shadow: var(--shadow-s) } .hubgrid a.has em { font-style: normal; font-size: 12px; color: var(--accent-ink); font-weight: 800 }
.hubgrid a svg { width: 16px; height: 16px; color: var(--muted) }
.fsec { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; padding: 60px 0; border-top: 1px solid var(--line) } .fsec:nth-child(even) .im { order: -1 } .fsec h2 { font-size: clamp(26px, 3vw, 40px) } .fsec .pills { margin-top: 22px }
.fsec .frame img { max-height: 440px; object-fit: cover }
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px } .jump a { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 650; font-size: 14.5px }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px } .bgrid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px } .bgrid .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 16px } .bgrid .ic svg { width: 22px; height: 22px } .bgrid p { color: var(--muted); margin-top: 8px; font-size: 15.5px }
:root[data-theme="dark"] .bgrid .ic { background: var(--ink-3) }
.wide { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px } .wide > div { border-radius: 22px; padding: 30px; background: var(--ink); color: var(--ink-text) } .wide h3 { color: #fff; margin-bottom: 8px } .wide p { color: var(--ink-muted) }
:root[data-theme="dark"] .wide > div { background: var(--ink-2); border: 1px solid var(--line) }
.what { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 24px } .what div { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; display: flex; gap: 10px } .what div::before { content: '✓'; color: var(--ok); font-weight: 900 }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px } .steps3 > div { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line) } .steps3 b.n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 900; margin-bottom: 14px } .steps3 p { color: var(--muted); font-size: 15px; margin-top: 4px }
.zero { display: flex; gap: 22px; align-items: center; padding: 30px; border-radius: 24px; background: var(--ink); color: var(--ink-text); margin-top: 16px } .zero b { font-size: 64px; font-weight: 900; color: var(--accent); line-height: 1 }
:root[data-theme="dark"] .zero { background: var(--ink-2); border: 1px solid var(--line) }

/* pricing */
.pricing-hero { padding: 70px 0 30px }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 26px 22px; cursor: pointer; position: relative; transition: border-color .2s, transform .2s } .plan:hover { transform: translateY(-2px) }
.plan.sel { border-color: var(--ink); box-shadow: var(--shadow) } :root[data-theme="dark"] .plan.sel { border-color: var(--accent) }
.plan.hot .ribbon { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 8px }
.plan h3 { font-size: 20px } .plan .price { font-size: 28px; font-weight: 900; margin: 10px 0 } .plan .price small { font-size: 14px; color: var(--muted); font-weight: 600 }
.plan .muted { color: var(--muted); font-size: 13.5px } .plan ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 14px } .plan ul li::before { content: '✓ '; color: var(--ok); font-weight: 900 }
.tierpill { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--bg-2); color: var(--muted); margin-inline-start: 6px }
.builder { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-top: 18px; align-items: start }
.bcard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px } .bcard h3 { margin-bottom: 18px }
.slider { margin-bottom: 22px } .slider label { display: flex; justify-content: space-between; font-weight: 700 } .slider input { width: 100%; accent-color: var(--accent) } .slider .hint { font-size: 13px; color: var(--muted) }
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px }
.addon { display: flex; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer } .addon.on { border-color: var(--accent); background: var(--accent-soft) } .addon.dis { opacity: .45; cursor: not-allowed }
.addon .tg { flex: none; width: 36px; height: 21px; border-radius: 999px; background: var(--line); position: relative; margin-top: 3px } .addon .tg::after { content: ''; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: #fff; top: 3px; inset-inline-start: 3px; transition: inset-inline-start .2s } .addon.on .tg { background: var(--accent) } .addon.on .tg::after { inset-inline-start: 18px }
.addon b { display: block; font-size: 15px } .addon small { display: block; color: var(--muted); font-size: 13px } .addon .price { font-size: 13.5px; font-weight: 750 }
.total { background: var(--ink); color: var(--ink-text); border-radius: 22px; padding: 28px; position: sticky; top: 96px } :root[data-theme="dark"] .total { background: var(--ink-2); border: 1px solid var(--line) }
.total .lines { display: grid; gap: 8px; margin: 18px 0; font-size: 14.5px } .total .lines div { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-muted) } .total .lines b { color: #fff }
.total .sum { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--ink-line); margin-bottom: 16px } .total .sum .price { font-size: 32px; font-weight: 900; color: #fff }
.total .btn { width: 100%; justify-content: center } .total .notes { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; font-size: 13px; color: var(--ink-muted) } .total .notes li::before { content: '• '; color: var(--accent) }
.incl { margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--line); color: var(--muted); font-weight: 600 }

/* responsive */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: 14.5px } .signin { display: none }
  .tgrid { grid-template-columns: repeat(4, 1fr) }
}
@media (max-width: 1020px) {
  .nav, .tools .langsel, .tools #theme, .top .tools > .btn { display: none } .burger { display: grid }
  .hero .grid, .split, .cpanel, .th-grid, .duo, .faq .grid, .sol-hero .grid, .arow, .fsec, .noacc .top2 { grid-template-columns: 1fr }
  .stage { justify-self: center } .trust .card { grid-template-columns: 1fr; gap: 24px } .trust .facts { justify-content: flex-start }
  .screen { position: sticky; top: 84px; z-index: 2 } .th-grid { gap: 30px } .screen-col { order: -1 } .step { padding-bottom: 34vh }
  .books .pair { grid-template-columns: 1fr; justify-items: center } .books .pair > div:not(.arrow) { width: 100% } .books .arrow { transform: rotate(90deg) }
  .arow:nth-child(even) .im, .fsec:nth-child(even) .im { order: 0 } .plans { grid-template-columns: repeat(2, 1fr) } .builder { grid-template-columns: 1fr } .total { position: static }
  .shape { grid-template-columns: repeat(2, 1fr) } .bgrid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px } body { font-size: 16px } .sec { padding: 76px 0 } .lead { font-size: 17px }
  .tgrid { grid-template-columns: repeat(2, 1fr) } .lgrid, .sgrid, .fgrid, .pains, .flow3, .steps3, .wide, .bgrid, .addons { grid-template-columns: 1fr }
  .noacc .card { padding: 30px 20px; border-radius: 26px } .noacc .fh { display: none } .noacc .fr { grid-template-columns: 1fr; gap: 6px } .noacc .auto { height: 26px } .noacc .auto::before { inset-inline: 50% auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 5px, transparent 5px 9px) }
  .noacc .fr + .fr { margin-top: 10px }
  .stage { aspect-ratio: 1 / 1.12; overflow: clip; border-radius: 26px } .fc-inv { inset-inline-start: 3%; width: 74% } .fc-stock { inset-inline-end: 3%; width: 64% } .chip-posted { inset-inline-start: 3%; font-size: 12.5px } .ai-bubble { inset-inline-end: 3%; width: 70% }
  .collage { gap: 8px } .cpanel { padding: 20px } .panel { padding: 26px } .trust .card { padding: 28px 22px } .trust .big b { font-size: 44px }
  .chat .mini { grid-template-columns: 1fr } .hub { min-height: 520px } .hub .core { width: 120px; height: 120px; font-size: 15px }
  .plans { grid-template-columns: 1fr } .shape { grid-template-columns: 1fr } .planbox { grid-template-columns: 1fr } footer .grid { grid-template-columns: 1fr 1fr } footer .grid > div:first-child { grid-column: 1 / -1 }
  .sol-hero .stage { overflow: clip; border-radius: 26px } .sol-hero .photo { inset: 0 } .sol-hero .fc-a { inset-inline-start: 3%; width: 76% } .sol-hero .fc-b { inset-inline-end: 3%; width: 62% }
  .final .card { padding: 56px 22px } .zero { flex-direction: column; text-align: center } .books .pair .frame img { max-height: 240px }
  .ctabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none } .ctabs button { flex: none }
  .screen .tag { bottom: -14px; font-size: 14px; padding: 8px 12px }
}
@media (max-width: 720px) {
  .hub { display: block; padding: 22px; min-height: 0 } .hub svg.lines { display: none } .hub .core { margin: 0 auto 18px; width: 110px; height: 110px; border-radius: 30px }
  .hub .nodes { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px } .hub .node { position: static; transform: none; white-space: normal }
}
:root[data-theme="dark"] .trust .card { border: 1px solid var(--line); background: var(--ink-2) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trust .card { border: 1px solid var(--line); background: var(--ink-2) } }
.sol-hero h1 { font-size: clamp(34px, 4.1vw, 56px) }

/* ── Static-build additions (2026-11-12) ─────────────────────────────────── */
/* Classes that replace the mock's inline style="…" attributes: the CSP allows
   no inline style (deploy/caddy csp_website). */
.fcard { margin: 0 }
.ease-sec { padding-top: 40px }
.lead-flush { margin: 0 }
.alt-bg { background: var(--bg-2) }
.h1-pricing { font-size: clamp(36px, 4.6vw, 62px) }
.mt10 { margin-top: 10px } .mt40 { margin-top: 40px } .mt70 { margin-top: 70px }
.pb40 { padding-bottom: 40px } .pb30 { padding-bottom: 30px }
.only-paid { margin: -10px 0 16px; color: var(--muted); font-size: 14px }
.on-ink { color: #fff } .ink-muted { color: var(--ink-muted) } .sum-per { color: var(--ink-muted) }
.chip-posted.chip-low { top: auto; bottom: 40% }
.lead.lead-ans { margin-top: 0; font-size: 17px }
.kicker.kicker-tight { margin-bottom: 6px } .muted-inline { color: var(--muted) }
.h2-sm { font-size: 30px } .fgrid.fgrid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) } .lead.lead-panel { margin-top: 8px }

/* Skip link */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px }
.skip:focus { top: 12px }

/* Photographs: <picture> fills the slot. */
.photo-in picture { position: absolute; inset: 0; display: block }

/* The AI chat's payment mix is an SVG bar (attribute widths, no inline style). */
.chat svg.mix { display: block; width: 100%; height: 10px; margin: 6px 0 8px; clip-path: inset(0 round 5px) }
.chat svg.mix .m1 { fill: #0b1433 } .chat svg.mix .m2 { fill: #ff6a3d } .chat svg.mix .m3 { fill: #9aa7c7 }
:root[data-theme="dark"] .chat svg.mix .m1 { fill: #8ea2e6 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chat svg.mix .m1 { fill: #8ea2e6 } }
.chat .legend span span::before { content: none }
.chat .legend .lg1::before { background: #0b1433 } .chat .legend .lg2::before { background: #ff6a3d } .chat .legend .lg3::before { background: #9aa7c7 }
:root[data-theme="dark"] .chat .legend .lg1::before { background: #8ea2e6 }
.hub ul.nodes { list-style: none; margin: 0; padding: 0 }

/* Hub list items keep the tile look for trades that have no page yet. */
.hubgrid .soon-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--muted) }
.hubgrid .soon-row svg { width: 16px; height: 16px; color: var(--muted) }

/* Plan cards are buttons (keyboard-operable). */
button.plan { display: block; width: 100%; text-align: start; font: inherit; color: inherit }
.plan .price, .plan .muted { display: block }

/* Language menu (no-JS <details>) */
.langmenu { position: relative }
.langmenu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 650 }
.langmenu summary::-webkit-details-marker { display: none }
.langmenu summary svg { width: 17px; height: 17px }
.langmenu ul { position: absolute; inset-inline-end: 0; top: 46px; z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 160px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow) }
.langmenu li a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14.5px }
.langmenu li a:hover, .langmenu li a[aria-current] { background: var(--bg-2) }
.langmenu a[lang="fa"], .langmenu a[lang="ar"], .flangs a[lang="fa"], .flangs a[lang="ar"] { font-family: 'Vazirmatn', system-ui, sans-serif }
.iconbtn { cursor: pointer }
.ai-badge b { white-space: nowrap }

/* Mobile menu (no-JS <details>) */
.burger-d summary { list-style: none } .burger-d summary::-webkit-details-marker { display: none }
.burger-d[open] .mnav { display: grid; gap: 4px }

/* Footer legal links and language list */
footer .base a { text-decoration: underline; text-underline-offset: 3px }
footer .flangs a { text-decoration: none }
footer h4 { font-size: 14px }

/* Focus is always visible */
a:focus-visible, button:focus-visible, summary:focus-visible, [role="switch"]:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px }

@media (max-width: 1020px) {
  .tools [data-theme-toggle] { display: none }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important }
}

/* ── Website review fixes (2026-11-12) ─────────────────────────────────── */

/* M7: an anchor target is never hidden under the sticky 74-px header. */
section[id], .fsec, [id^="fs"], .legal-body h3[id] { scroll-margin-top: 92px }

/* Headings re-levelled for a clean outline (M11) keep their old look. */
h2.h3 { font-size: 21px; font-weight: 750; letter-spacing: -.025em; line-height: 1.1 }
[dir="rtl"] h2.h3 { letter-spacing: 0; line-height: 1.32 }
.chat .mini h3.mini-h { margin: 0 0 6px; font-size: 12px; color: #64748b; font-weight: 700; letter-spacing: 0; line-height: 1.4 }
footer h2.fh { margin: 0 0 12px; font-size: 14px; font-weight: 750; letter-spacing: 0; line-height: 1.4 }

/* M5: text on the dark sections at ≥ 4.5:1 — the kicker and the leads use the
   light accent and the light muted colour there; inactive theatre steps dim
   their paragraph only, and not below the AA line. */
.ai-sec .kicker, .theatre .kicker, .panel.ink .kicker, .total .kicker, .dark .kicker { color: var(--accent-2) }
.ai-sec .lead, .theatre .lead { color: var(--ink-muted) }
.chat .in { color: #5b6577 } :root[data-theme="dark"] .chat .in { color: #a3a9b7 }
.step { opacity: 1 } .step h3 { color: var(--ink-muted); transition: color .35s } .step p { opacity: .8; transition: opacity .35s }
.step.on h3 { color: #fff } .step.on p { opacity: 1 }

/* B1: the hero collage. The tall slot (~0.55) takes a whole portrait scene
   (~0.5), the small slots (~0.84) a 4:5 crop: cover hides almost nothing. */
.collage .photo-in img.real { object-position: 50% 50% }

/* B2: the solution hero's photo is a 4:5 slot holding a 4:5 crop. */
.sol-hero .stage { aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100% }
.sol-hero .photo { inset: 0 auto auto 0; width: 74%; aspect-ratio: 4 / 5 }
[dir="rtl"] .sol-hero .photo { inset: 0 0 auto auto }
.sol-hero .fc-b { width: 44%; height: auto; max-height: 28%; top: auto; bottom: 4%; inset-inline-end: -4% }
.sol-hero .fc-a { width: 52%; height: auto; max-height: 30%; bottom: 0; inset-inline-start: -4%; inset-inline-end: auto }
.sol-hero .chip-posted.chip-low { bottom: auto; top: 5%; inset-inline-start: -3% }

/* B5/M8: a floating card shows a tight element crop, so it is readable; B1:
   the cards and the bubble sit where the photos have no faces — the invoice
   over the tall photo's lower half (desk, counter), the AI bubble between the
   two small photos' people, the stock card at the very bottom. */
.fcard .shot { height: auto; max-height: calc(100% - 37px) }
.fc-inv { top: auto; bottom: 4%; inset-inline-start: -8%; width: 62%; height: auto; max-height: 34% }
.fc-stock { bottom: -5%; inset-inline-end: -6%; width: 46%; height: auto; max-height: 27% }
.ai-bubble { top: 33%; inset-inline-end: -4%; width: 50% }
.chip-posted { top: 52% }

/* B6: the plan cards are top-aligned and their rows line up across cards —
   name, price, limits, extra-user price, modules (subgrid; a browser without
   it gets a top-aligned column with reserved row heights). */
.plans { grid-template-rows: auto auto auto auto 1fr; align-items: stretch }
button.plan { display: grid; grid-template-rows: subgrid; grid-row: span 5; align-content: start; row-gap: 0; text-align: start }
@supports not (grid-template-rows: subgrid) {
  button.plan { display: flex; flex-direction: column; justify-content: flex-start }
  .plan .price { min-height: 2.6em } .plan .lim { min-height: 3em } .plan .extra { min-height: 1.6em }
}
.plan .pname { font-size: 20px }
.plan .price small { display: inline }
.plan .extra:empty { display: block }
.plan ul { align-content: start }
.bcard h2.h3 { margin-bottom: 18px }

/* Minor 3: in the total, the count sits beside its label. */
.total .lines div > span { color: var(--ink-muted) }
.mini-plans .price small { font-size: 12.5px; color: var(--muted); font-weight: 600 }

/* Minor 4: a light slider track, the accent thumb. */
.slider input[type="range"] { appearance: none; -webkit-appearance: none; height: 6px; border-radius: 3px; background: var(--line); margin: 12px 0 6px }
.slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 1px 4px rgba(11,20,51,.35); cursor: pointer }
.slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); cursor: pointer }
.slider input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line) }
.slider input[type="range"]:disabled { opacity: .5 }

/* Minor 2: the decorative glow on the no-accounting card is faint. */
.noacc .card::before { opacity: .45 }

/* Minor 5: the mobile menu shows ✕ while open and dims the page under it. */
.burger .i-close { display: none } .burger-d[open] .burger .i-open { display: none } .burger-d[open] .burger .i-close { display: block }
.burger-d[open]::before { content: ''; position: fixed; inset: 74px 0 0; background: rgba(5,10,26,.45); z-index: 48 }

/* Minor 6: the switch page's "what moves" list fills its row. */
.what { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) }

/* M1: the hub — a trade with a page is a card-link; the rest is a plain list
   that does not look clickable. */
.hubgrid h2.hub-h { font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; letter-spacing: 0 }
.hubgrid h2.hub-h small { font-size: 13px; color: var(--muted); font-weight: 600 }
.hubgrid .row { margin-bottom: 14px }
.hubgrid ul.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--muted); font-weight: 600; cursor: default }
.hubgrid ul.plain li { display: inline-flex; align-items: center; gap: 8px }
.hubgrid ul.plain li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--line) }

/* Minor 7: the feature sections' screens take the column's full width. */
.fsec .im { min-width: 0 } .fsec .im .frame { width: 100% }

/* B7: the legal pages. */
.legal-hero .lead { font-size: 17px }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start }
.toc { position: sticky; top: 96px; font-size: 14px }
.toc h2 { margin-bottom: 10px }
.toc ul.toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted) }
.toc a:hover { color: var(--accent-ink) }
.legal-body { max-width: 72ch; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px 40px; font-size: 16px; line-height: 1.7; text-align: left; font-family: 'Inter', system-ui, sans-serif }
.legal-body .doc-title { font-size: 28px; margin-bottom: 4px }
.legal-body h3 { font-size: 19px; margin: 28px 0 8px; line-height: 1.3 }
.legal-body h4 { font-size: 16px; margin: 18px 0 6px }
.legal-body p, .legal-body ul { margin: 0 0 12px }
.legal-body ul { padding-left: 22px }
.legal-body blockquote { margin: 0 0 14px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 8px }
.legal-foot { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 10px }

@media (max-width: 1020px) {
  /* B9: on a tablet or phone the screen column itself sticks under the header,
     with the steps scrolling beneath it, so every step shows its screen. */
  .th-grid { gap: 0 } .screen-col { align-self: start }
  .screen-col { position: sticky; top: 74px; z-index: 3; background: var(--ink); padding: 10px 0 18px; margin: 0 -24px; padding-inline: 24px }
  .screen { position: relative; top: auto }
  .device .vp { aspect-ratio: 16 / 9 }
  .screen .tag { bottom: -12px; padding: 7px 12px; font-size: 14px }
  .theatre .real { display: none }
  .steps { margin-top: 26px }
  .step { padding: 22px 0 22vh } .step:last-child { padding-bottom: 12vh }
  .legal-grid { grid-template-columns: 1fr; gap: 24px } .toc { position: static }
  .sol-hero .stage { justify-self: center }
}
@media (max-width: 720px) {
  .screen-col { margin: 0 -16px; padding-inline: 16px }
  .legal-body { padding: 22px 18px; font-size: 15.5px }
  /* B1.4 / M10: on a phone the floating cards are smaller and sit at the
     bottom of the collage, so the faces at the top stay visible and the AI
     bubble no longer covers the invoice card's title. */
  .fc-inv { top: auto; bottom: 3%; inset-inline-start: 3%; width: 60%; max-height: 34% }
  .fc-stock { display: none }
  /* the AI bubble is dropped on a phone: every place it could sit covers a
     face (review follow-up 2026-11-12); the hero badge says AI-Powered. */
  .ai-bubble { display: none }
  .fc-inv { width: 57% }
  .ai-bubble .q { padding: 5px 8px }
  .chip-posted { top: 46% }
  .sol-hero .stage { aspect-ratio: 4 / 5; max-width: none }
  .sol-hero .photo { inset: 0; width: 100% }
  .sol-hero .fc-b { display: none }
  .sol-hero .fc-a { width: 70%; inset-inline-start: auto; inset-inline-end: 3%; bottom: 3%; max-height: 36% }
  .sol-hero .chip-posted.chip-low { bottom: auto; top: 4%; inset-inline-start: 3% }
}
.hubgrid .row { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) } .hubgrid a.has em { white-space: nowrap }

/* ── Round 3 (Reza 2026-11-12) ─────────────────────────────────────────── */

/* 1. The app's logo: the cube mark (BrandCube) beside the cursive wordmark
   (AppLogo). Light theme: the cube BARE; dark theme: the cube on the light
   tile — one SVG, the tile and the cube's scale switched here. */
.logo .cube { width: 32px; height: 32px; flex: none; display: block }
.logo .cube-tile { fill: #F8F8F6; display: none }
.logo .cube-body { transform-origin: 32px 32px; transform: scale(1.2308) }
:root[data-theme="dark"] .logo .cube-tile { display: inline }
:root[data-theme="dark"] .logo .cube-body { transform: scale(.8) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .cube-tile { display: inline } :root:not([data-theme="light"]) .logo .cube-body { transform: scale(.8) } }
/* The font's real weight 400 in the app (AppLogo) and here, no synthetic bold
   (Reza 2026-11-12, verbatim «ب»). */
.logo .wordmark { font-family: 'Meow Script', cursive; font-size: 31px; font-weight: 400; line-height: 1.2; letter-spacing: 0; color: var(--text); direction: ltr; unicode-bidi: isolate }
footer .logo .wordmark { font-size: 29px }

/* 3. On a phone the language picker sits in the bar beside the burger. */
.tools { margin-inline-start: auto }
@media (max-width: 1020px) {
  .top .wrap { gap: 12px }
  .tools { gap: 8px }
}
@media (max-width: 380px) { .logo .wordmark { font-size: 27px } .langmenu summary { padding: 0 8px } }

/* 4. Back to top: fixed on the physical RIGHT in every language and direction
   (RTL too — easier for the thumb, 2026-11-12; never inset-inline-end), out of
   the flow, hidden until site.js shows it after a screen of scrolling; it
   fades away while it would sit over a button. */
.totop { position: fixed; z-index: 45; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; border: 1px solid var(--ink-line); box-shadow: var(--shadow-s); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility 0s .2s }
.totop svg { width: 20px; height: 20px }
.totop.show { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s }
.totop.show.yield { opacity: 0; visibility: hidden; pointer-events: none }
.totop:hover { background: var(--ink-3) }
:root[data-theme="dark"] .totop { background: var(--ink-3); border-color: var(--line) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .totop { background: var(--ink-3); border-color: var(--line) } }
@media (max-width: 720px) { .totop { inset-inline-end: 14px; bottom: 14px; width: 44px; height: 44px } }

/* 6. The chosen plan card is unmistakable in every theme (Reza 2026-11-12:
   on a phone the selected look did not move — the ink border vanished on the
   dark scheme): an accent border and ring plus a check badge. */
.plan.sel { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent), var(--shadow-s) }
:root[data-theme="dark"] .plan.sel { border-color: var(--accent) }
.plan::after { content: ''; position: absolute; top: 14px; inset-inline-end: 14px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line) }
.plan.sel::after { content: '✓'; display: grid; place-items: center; background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 900; font-size: 14px; line-height: 1 }
.mnav a[aria-current="page"] { color: var(--accent-ink) }

/* 2. The guide (/<lang>/guide/) in the site's chrome: a READING page — a
   narrow measure, larger type, the site's colours and dark mode. Every
   directional value is logical, so Persian and Arabic mirror. */
.guide { padding: 48px 0 40px }
.guide-wrap { max-width: 800px }
.guide h1 { font-size: clamp(32px, 4.4vw, 50px); margin: 0 0 16px }
.guide .lede { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 62ch }
.guide-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink) }
[dir="rtl"] .guide-kicker { letter-spacing: 0; text-transform: none; font-size: 15px }
.guide-summary { margin: 0 0 36px; padding: 18px 20px; background: var(--accent-soft); border-radius: 16px; border-inline-start: 4px solid var(--accent); color: var(--text); line-height: 1.75 }
.guide-crumb { margin-bottom: 20px; font-size: 15px; font-weight: 650 }
.guide-crumb a, .guide-back a { color: var(--accent-ink) }
.guide-crumb a:hover, .guide-back a:hover { text-decoration: underline; text-underline-offset: 3px }
.guide-section { margin-block: 38px }
.guide-section h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 14px }
.guide-section p { margin: 0 0 14px; color: var(--text); line-height: 1.8 }
.guide .points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px }
.guide .points li { display: grid; gap: 3px; padding: 14px 18px; padding-inline-start: 42px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px }
.guide .points li::before { content: ''; position: absolute; inset-inline-start: 18px; top: 1.35em; width: 9px; height: 9px; border-radius: 3px; background: var(--accent) }
.guide .points strong { font-weight: 750 } .guide .points span { color: var(--muted); font-size: 16px }
.guide-back { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 750 }
.guide-index-heading { margin: 40px 0 18px; font-size: clamp(22px, 2.4vw, 28px) }
.guide-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.guide-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-s); transition: border-color .2s, transform .2s }
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px) }
.guide-card-num { font-size: 12.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink) }
[dir="rtl"] .guide-card-num { letter-spacing: 0; text-transform: none; font-size: 14px }
.guide-card-title { font-weight: 800; font-size: 18px; line-height: 1.35 }
.guide-card-lede { color: var(--muted); font-size: 15px; line-height: 1.6 }
.page-guide footer { margin-top: 40px }
@media (max-width: 720px) { .guide { padding-top: 30px } .guide-index { grid-template-columns: 1fr } .guide .lede { font-size: 17px } }

/* The theme button shows its action's icon (moon in light, sun in dark), like the app. */
[data-theme-toggle] .i-sun { display: none }
:root[data-theme="dark"] [data-theme-toggle] .i-sun { display: block }
:root[data-theme="dark"] [data-theme-toggle] .i-moon { display: none }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-theme-toggle] .i-sun { display: block }
  :root:not([data-theme="light"]) [data-theme-toggle] .i-moon { display: none }
}

/* ── The partner programme page and the home teaser (design ui-review/2026-11-13/website-partners/, Reza 2026-11-13) ── */
/* hero: text + portal illustration */
.pt-hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center }
.pt-hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px }
.pt-hero .cta-note { display: block; width: 100%; font-size: 14px; color: var(--muted); margin-top: 6px }

/* portal illustration (HTML, demo figures) */
.pmock { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; font-size: 13.5px }
.pmock .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); direction: ltr }
.pmock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line) }
.pmock .bar em { font-style: normal; font-size: 12px; color: var(--muted); margin-inline-start: 10px }
.pmock .phead { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #0b1433; color: #eef2ff; font-weight: 700 }
.pmock .phead small { font-weight: 600; color: #a6b1d3; font-size: 12px }
.pmock .phead .tier { font-size: 11.5px; padding: 3px 8px; border-radius: 7px; background: rgba(255,255,255,.12); color: #eef2ff }
.pmock .pbody { padding: 16px; display: grid; gap: 12px; background: var(--bg) }
.pmock .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.pmock .tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px }
.pmock .tile span { display: block; color: var(--muted); font-size: 12px }
.pmock .tile b { display: block; font-size: 18px; margin-top: 4px; text-align: right }
.pmock .tile small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px }
.pmock .row2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px }
.pmock .card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px }
.pmock .card h4 { margin: 0 0 8px; font-size: 13px }
.pmock .prog { height: 8px; border-radius: 6px; background: var(--bg-2); overflow: hidden; margin-top: 8px }
.pmock .prog i { display: block; height: 100%; width: 66%; background: var(--ok); border-radius: 6px }
.pmock .ok { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: rgba(31,157,107,.14); color: var(--ok); font-weight: 700 }
.pmock .plink { margin: 0; font-size: 12.5px; direction: ltr; unicode-bidi: isolate; color: var(--text); font-weight: 600; word-break: break-all }
.pmock .copy { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: #fff }
:root[data-theme="dark"] .pmock .copy { background: var(--ink-3) }
.pmock .bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 6px; direction: ltr }
.pmock .bars i { flex: 1; background: #2e3868; border-radius: 4px 4px 0 0 }
:root[data-theme="dark"] .pmock .bars i { background: #8ea2e6 }
.pmock .bars i:nth-child(1) { height: 30% } .pmock .bars i:nth-child(2) { height: 45% } .pmock .bars i:nth-child(3) { height: 52% } .pmock .bars i:nth-child(4) { height: 70% } .pmock .bars i:nth-child(5) { height: 86% }
.demo-tag { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 12px }
.demo-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent) }

/* "who" cards */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px }
.who > div { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px }
.who .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 16px }
:root[data-theme="dark"] .who .ic { background: var(--ink-3) }
.who .ic svg { width: 22px; height: 22px }
.who p { color: var(--muted); font-size: 15.5px; margin-top: 6px }

/* four steps */
.steps3.steps4 { grid-template-columns: repeat(4, 1fr) }

/* the earning band */
.earn { background: var(--ink); color: var(--ink-text) }
.earn h2 { color: #fff } .earn .lead { color: var(--ink-muted) } .earn .kicker { color: var(--accent-2) }
.earn .egrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px }
.earn .egrid > div { border-radius: 20px; padding: 24px; background: var(--ink-2); border: 1px solid var(--ink-line) }
:root[data-theme="dark"] .earn .egrid > div { background: var(--ink-3) }
.earn .egrid h3 { color: #fff; font-size: 19px } .earn .egrid p { color: var(--ink-muted); font-size: 15px; margin-top: 6px }
.earn .not { margin-top: 18px; color: var(--ink-muted); font-size: 15px; display: flex; gap: 10px; align-items: baseline }
.earn .not b { color: #fff }

/* referral card */
.refcard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-s) }
.refcard h3 { font-size: 16px; color: var(--muted); font-weight: 700 }
.refcard .val { margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); font-weight: 750; direction: ltr; unicode-bidi: isolate; text-align: left; word-break: break-all }
.refcard .val.code { font-size: 26px; letter-spacing: .12em; text-align: center }
.refcard .cp { display: inline-block; margin-top: 10px; font-weight: 750; font-size: 14px; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff }
:root[data-theme="dark"] .refcard .cp { background: var(--ink-3) }
.refcard .note { color: var(--muted); font-size: 14px; margin-top: 8px }
.refcard + .refcard { margin-top: 14px }

/* portal features */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px }
.pgrid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px }
.pgrid h3 { font-size: 17.5px } .pgrid p { color: var(--muted); font-size: 14.5px; margin-top: 6px }
.pgrid .n { display: block; font-size: 13px; font-weight: 800; color: var(--accent-ink); margin-bottom: 10px }
.pfacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px }

/* settlement + master */
.pay { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start }
.pay .panel .ticks { margin-top: 18px }
.panel.ink .ticks li { color: var(--ink-text) } .panel.ink .ticks li::before { color: var(--accent-2) }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px }

/* home teaser */
.pt-teaser { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center }
.pt-teaser .flow3 { margin-top: 0 }
.pt-teaser .acts { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 26px }
.pt-teaser .acts .link { margin-top: 0 }

@media (max-width: 1020px) {
  .pt-hero .grid, .pay, .pt-teaser { grid-template-columns: 1fr }
  .steps3.steps4, .pgrid { grid-template-columns: repeat(2, 1fr) }
  .who, .earn .egrid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 720px) {
  .steps3.steps4, .pgrid, .who, .earn .egrid, .rules, .pmock .row2 { grid-template-columns: 1fr }
  .pmock .tiles { grid-template-columns: 1fr 1fr } .pmock .tiles .tile:last-child { grid-column: 1 / -1 }
  .pt-hero .cta-row .btn { width: 100%; justify-content: center }
}
.pmock .tile b span { display: inline; color: inherit; font-size: inherit; margin: 0 }

/* ── The developers page (Reza 2026-11-14): the security page's block grid, two per row ── */
.bgrid.dev-grid { grid-template-columns: repeat(2, 1fr) }
.dev-grid .dev-links { display: flex; flex-wrap: wrap; gap: 0 26px }
.dev-grid .dev-steps { margin: 12px 0 0; padding-inline-start: 22px; color: var(--muted); font-size: 15.5px } .dev-grid .dev-steps li + li { margin-top: 6px }
.dev-grid .dev-note { font-size: 14px; margin-top: 10px }
@media (max-width: 720px) { .bgrid.dev-grid { grid-template-columns: 1fr } }

/* ── The about page (Reza 2026-11-14): the security page's blocks, two per row ── */
.bgrid.about-grid { grid-template-columns: repeat(2, 1fr) }
.about-what { grid-template-columns: repeat(2, 1fr); gap: 14px 28px } .about-what li { font-weight: 500; color: var(--muted) }
@media (max-width: 720px) { .bgrid.about-grid, .about-what { grid-template-columns: 1fr } }

/* ── Header option C + mobile theme row T2 (Reza 2026-11-14 «ج»; design
   ui-review/2026-11-14/website-nav-design/). Four links and one «Resources»
   panel, a no-JS <details> like the language menu; site.js closes it on an
   outside click or Escape and keeps one header disclosure open at a time. ── */
.nav { align-items: center }
.nav > a, .navmenu > summary { white-space: nowrap }
.navmenu { position: relative }
.navmenu > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; padding: 8px 11px 8px 13px; border-radius: 10px; font-weight: 600; font-size: 15.5px; color: var(--muted); cursor: pointer; user-select: none }
[dir="rtl"] .navmenu > summary { padding: 8px 13px 8px 11px }
.navmenu > summary::-webkit-details-marker { display: none }
.navmenu > summary .caret { width: 15px; height: 15px; transition: transform .18s }
.navmenu[open] > summary .caret { transform: rotate(180deg) }
.navmenu > summary:hover, .navmenu[open] > summary, .navmenu.on > summary { color: var(--text); background: var(--bg-2) }
.navpanel { position: absolute; top: calc(100% + 12px); inset-inline-start: 0; z-index: 60; min-width: 230px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 2px }
.navpanel .ng { display: grid; gap: 2px; align-content: start }
.nav .navpanel a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; font-weight: 650; font-size: 15px; color: var(--text); background: none; white-space: nowrap }
.nav .navpanel a:hover, .nav .navpanel a:focus-visible { background: var(--bg-2) }
.nav .navpanel a[aria-current] { color: var(--accent-ink); background: var(--accent-soft) }
/* The two-group panel: each entry an icon and one line of description. */
.navpanel.mega { inset-inline-start: auto; inset-inline-end: 0; grid-template-columns: 1fr 1fr; gap: 4px 14px; padding: 14px; width: max-content; max-width: min(620px, calc(100vw - 48px)) }
.navpanel .nh { margin: 0 0 4px; padding: 0 12px; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
[dir="rtl"] .navpanel .nh { letter-spacing: 0; text-transform: none; font-size: 13px }
.navpanel.mega .ng + .ng { border-inline-start: 1px solid var(--line); padding-inline-start: 14px }
.nav .navpanel.mega a { align-items: flex-start; white-space: normal; min-width: 250px; max-width: 300px }
.navpanel .ni { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--accent-ink) }
.navpanel .ni svg { width: 19px; height: 19px }
.navpanel.mega b { display: block; font-size: 15px; font-weight: 750; line-height: 1.35 }
.navpanel.mega small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.45; margin-top: 1px }
.nav .navpanel.mega a[aria-current] .ni { background: var(--accent); color: var(--on-accent) }
/* de and ru fit between 1021 and 1280 px only with these tighter paddings and gaps. */
@media (min-width: 1181px) and (max-width: 1280px) { .nav > a { padding: 8px 10px } .navmenu > summary { padding: 8px 8px 8px 10px } [dir="rtl"] .navmenu > summary { padding: 8px 10px 8px 8px } }
@media (max-width: 1180px) { .top .wrap { gap: 16px } .navmenu > summary { padding: 8px 7px 8px 9px; font-size: 14.5px } [dir="rtl"] .navmenu > summary { padding: 8px 9px 8px 7px } }
@media (max-width: 1100px) { .top .wrap { gap: 12px } }
/* Below 1181 px the panel hangs from the whole nav, not from its trigger, so
   it stays on screen in RTL too (fa/ar at 1021 px ran 11–33 px off the edge). */
@media (min-width: 1021px) and (max-width: 1180px) { .nav { position: relative } .navmenu { position: static } }

/* The phone menu: the two groups as two-column tiles (it scrolls if the phone is short). */
.mnav { max-height: calc(100dvh - 74px); overflow-y: auto; overscroll-behavior: contain }
.mnav .mgroup { padding-top: 14px }
.mnav .mh { margin: 0 0 8px; padding: 0 6px; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
[dir="rtl"] .mnav .mh { letter-spacing: 0; text-transform: none; font-size: 13px }
.mnav .mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.mnav .mgrid a { display: flex; gap: 7px; align-items: center; min-width: 0; padding: 11px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; background: var(--surface-2) }
.mnav .mgrid a svg { width: 18px; height: 18px; flex: none; color: var(--accent-ink) }
.mnav .mgrid a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft) }
.mnav .msignin { margin-top: 10px; border-top: 1px solid var(--line) }
/* T2: a «Theme [Light | Dark]» row in the phone menu, the current one selected. */
.mnav .mtheme { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 10px 6px 4px; border-top: 1px solid var(--line); font-weight: 650 }
.mnav .seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line) }
.mnav .seg button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 14px; font-weight: 650; color: var(--muted); cursor: pointer }
.mnav .seg svg { width: 16px; height: 16px }
:root:not([data-theme="dark"]) .mnav .seg [data-theme-set="light"], :root[data-theme="dark"] .mnav .seg [data-theme-set="dark"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(11,20,51,.18) }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .mnav .seg [data-theme-set="light"] { background: none; color: var(--muted); box-shadow: none }
  :root:not([data-theme]) .mnav .seg [data-theme-set="dark"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(11,20,51,.18) }
}
.mnav .mtheme + .msignin { margin-top: 4px }
/* The longest tile label (ru «Разработчикам») needs ~160 px: a little less
   side padding on a phone keeps two columns down to 341 px; below that, one. */
.mnav .mtheme { flex-wrap: wrap }
@media (max-width: 400px) { .mnav { padding-inline: 16px } }
@media (max-width: 340px) { .mnav .mgrid { grid-template-columns: 1fr } }

/* generated: hub node positions */
.hub .node.n0 { left: 50%; top: 12% }
.hub .node.n1 { left: 78.15%; top: 26.31% }
.hub .node.n2 { left: 85.1%; top: 58.46% }
.hub .node.n3 { left: 65.62%; top: 84.24% }
.hub .node.n4 { left: 34.38%; top: 84.24% }
.hub .node.n5 { left: 14.9%; top: 58.46% }
.hub .node.n6 { left: 21.85%; top: 26.31% }
/* generated: scene focus */
img.real[data-scene="11"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="12"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="13"][data-crop="whole"] { object-position: 50% 33% }
img.real[data-scene="14"][data-crop="whole"] { object-position: 50% 30% }
img.real[data-scene="15"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="16"][data-crop="whole"] { object-position: 50% 34% }
img.real[data-scene="17"][data-crop="whole"] { object-position: 50% 34% }
img.real[data-scene="18"][data-crop="whole"] { object-position: 50% 30% }
img.real[data-scene="19"][data-crop="whole"] { object-position: 50% 24% }
img.real[data-scene="20"][data-crop="whole"] { object-position: 50% 40% }
img.real[data-scene="21"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="22"][data-crop="whole"] { object-position: 50% 30% }
img.real[data-scene="23"][data-crop="whole"] { object-position: 50% 34% }
img.real[data-scene="24"][data-crop="whole"] { object-position: 50% 30% }
img.real[data-scene="25"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="26"][data-crop="whole"] { object-position: 50% 40% }
img.real[data-scene="27"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="28"][data-crop="whole"] { object-position: 50% 38% }
img.real[data-scene="31"][data-crop="whole"] { object-position: 50% 40% }
img.real[data-scene="32"][data-crop="whole"] { object-position: 50% 40% }
img.real[data-scene="33"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="34"][data-crop="whole"] { object-position: 50% 45% }
img.real[data-scene="35"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="36"][data-crop="whole"] { object-position: 50% 40% }
img.real[data-scene="37"][data-crop="whole"] { object-position: 50% 40% }
img.real[data-scene="38"][data-crop="whole"] { object-position: 50% 42% }
img.real[data-scene="39"][data-crop="whole"] { object-position: 50% 38% }
img.real[data-scene="40"][data-crop="whole"] { object-position: 50% 36% }
img.real[data-scene="41"][data-crop="whole"] { object-position: 50% 42% }
img.real[data-scene="01"][data-crop="whole"] { object-position: 50% 40% }
img.real[data-scene="02"][data-crop="whole"] { object-position: 50% 30% }
img.real[data-scene="04"][data-crop="whole"] { object-position: 50% 32% }
img.real[data-scene="06"][data-crop="whole"] { object-position: 50% 30% }
