/* Shared look of the content pages (/hesab-dong, /sandogh-khanegi): the landing page's colours
   and type. Headlines are Lalezar - keep half-spaces (ZWNJ) out of h1/h2, it drops them. */
:root {
  color-scheme: light;
  --paper: #f3eee4;
  --surface: #fffbf5;
  --ink: #2c241c;
  --muted: #6f6559;
  --terracotta: #c45c26;
  --terracotta-ink: #a34b14;
  --tint: #fdf0e6;
  --tint-line: #f0c49a;
  --green: #2d6a56;
  --green-tint: #e4f2ec;
  --line: color-mix(in srgb, #2c241c 12%, transparent);
  --on-accent: #fffbf5;
  --shadow: 0 1px 0 color-mix(in srgb, #2c241c 6%, transparent), 0 24px 48px -20px rgba(74, 36, 12, 0.28);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1a1612;
  --surface: #25201b;
  --ink: #f1e9dd;
  --muted: #b0a596;
  --terracotta: #e8834a;
  --terracotta-ink: #f5b07f;
  --tint: #3a2519;
  --tint-line: #6b4026;
  --green: #62b898;
  --green-tint: #17302a;
  --line: color-mix(in srgb, #f1e9dd 13%, transparent);
  --on-accent: #1a1612;
  --shadow: 0 1px 0 color-mix(in srgb, #f1e9dd 8%, transparent), 0 24px 48px -20px rgba(0, 0, 0, 0.6);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Vazirmatn", system-ui, sans-serif; font-size: 17px; line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--terracotta-ink); text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: "Lalezar", serif; font-size: 26px; line-height: 1; padding-top: 6px; }

h1, h2 { font-family: "Lalezar", "Vazirmatn", serif; font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 8vw, 64px); line-height: 1.15; margin-top: 18px; }
h2 { font-size: clamp(26px, 4.4vw, 34px); line-height: 1.3; margin: 0 0 10px; }
h3 { font-size: 18px; margin: 18px 0 4px; line-height: 1.5; }
p { margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--muted); margin-top: 14px; }
article section { padding: 28px 0 6px; }
article ul, article ol { padding-inline-start: 22px; margin: 0 0 12px; }
article li { margin-bottom: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 "Vazirmatn", system-ui, sans-serif; text-decoration: none;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.btn:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn-primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--on-accent); }
.btn-primary:hover { background: var(--terracotta-ink); border-color: var(--terracotta-ink); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.callout { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 22px; padding: 20px 22px; margin: 28px 0; }
.callout h2 { font-size: 28px; }
.example { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; margin: 10px 0 14px; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; }

.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 2px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--terracotta); font-size: 22px; line-height: 1.2; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 16px; }

.phone { width: min(280px, 78vw); margin: 18px auto; border-radius: 38px; padding: 9px; background: #2c241c; box-shadow: var(--shadow); }
:root[data-theme="dark"] .phone { background: #0e0b09; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.phone img { border-radius: 30px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

footer { padding: 40px 0 48px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 48px; }
footer a { color: inherit; }
