/* LagKosh site. Palette and type: docs/19-ui-ux.md §9. Proprietary. */
@font-face { font-family: Vazirmatn; src: url(vazirmatn_regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(vazirmatn_bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(vazirmatn_black.ttf); font-weight: 900; font-display: swap; }
@font-face { font-family: Chakra; src: url(chakrapetch_bold.ttf); font-weight: 700; font-display: swap; }

:root {
  --bg: #0B0A0A; --card: #171515; --card2: #211E1D; --line: rgba(244,238,227,.08);
  --text: #F4EEE3; --text2: #C2BAAB; --brand: #8E1B2E; --brand-l: #D13A55; --brand-i: #E8506A;
  --good: #3DDC84; color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.75 Vazirmatn, Tahoma, sans-serif;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 720px; margin: 0 auto; padding-block: 24px 64px; }
a { color: var(--brand-i); }
.n { font-family: Chakra, sans-serif; direction: ltr; unicode-bidi: isolate; }
header.top { display: flex; align-items: center; gap: 10px; }
header.top img { width: 40px; height: 40px; border-radius: 11px; }
header.top b { font-size: 24px; font-weight: 900; }
h1 { font-size: clamp(30px, 7vw, 44px); font-weight: 900; line-height: 1.35; margin: 28px 0 8px; text-wrap: balance; }
h2 { font-size: 22px; font-weight: 900; margin: 40px 0 8px; display: flex; align-items: center; gap: 8px; }
h2 img { width: 30px; height: 30px; }
p { margin: 0 0 12px; color: var(--text2); max-width: 62ch; }
.hero { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 2.2; margin-top: 20px; background: var(--card); }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 32px;
  border-radius: 30px; background: linear-gradient(135deg, var(--brand-l), var(--brand)); color: var(--text);
  font-weight: 900; font-size: 19px; text-decoration: none; margin-top: 20px; }
.cta small { font-weight: 400; font-size: 14px; opacity: .85; }
.note { font-size: 15px; color: var(--text2); margin-top: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.card img { width: 34px; height: 34px; }
.card b { display: block; font-size: 18px; font-weight: 900; margin: 6px 0 2px; }
.card span { color: var(--text2); font-size: 15px; }
ol.steps { padding-inline-start: 22px; color: var(--text2); }
ol.steps li { margin-bottom: 6px; }
.legal h3 { font-size: 18px; font-weight: 900; margin: 28px 0 6px; color: var(--text); }
.legal ul { color: var(--text2); padding-inline-start: 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal td, .legal th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: start; vertical-align: top; }
.tbl { overflow-x: auto; }
footer { margin-top: 56px; font-size: 14px; color: var(--text2); border-top: 1px solid var(--line); padding-top: 16px; }
footer a { color: var(--text2); }
