/* =========================================================
   بجیستو شاپ | چالاک سافت
   Design system — Bagisto official brand palette
   navyBlue #060C3B · darkBlue #0044F2 · lightOrange #F6F2EB
   darkGreen #40994A · darkPink #F85156
   ========================================================= */

@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

:root {
  /* Bagisto brand */
  --navy: #060C3B;
  --navy-700: #101a5c;
  --navy-500: #23307e;
  --blue: #0044F2;
  --blue-600: #0038c9;
  --blue-100: #e2eaff;
  --blue-050: #f0f4ff;
  --cream: #F6F2EB;
  --green: #40994A;
  --green-050: #eef7ef;
  --pink: #F85156;
  --pink-050: #fff0f0;

  /* Neutrals */
  --ink: #0d1230;
  --body: #4a5170;
  --muted: #767d99;
  --line: #e5e7f0;
  --line-soft: #eff1f7;
  --white: #ffffff;
  --bg: #ffffff;

  /* Type scale */
  --f-xs: 0.8125rem;
  --f-sm: 0.9375rem;
  --f-base: 1.0625rem;
  --f-lg: 1.1875rem;
  --f-xl: 1.375rem;
  --f-2xl: 1.75rem;
  --f-3xl: 2.25rem;
  --f-4xl: 3rem;

  /* Space & shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(6, 12, 59, .06), 0 2px 8px rgba(6, 12, 59, .04);
  --shadow: 0 4px 12px rgba(6, 12, 59, .07), 0 12px 32px rgba(6, 12, 59, .06);
  --shadow-lg: 0 18px 50px rgba(6, 12, 59, .14);
  --wrap: 1160px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Vazirmatn', 'IRANSans', 'Segoe UI', Tahoma, system-ui, sans-serif;
  font-size: var(--f-base);
  line-height: 2;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-600); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.55;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--f-4xl); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: var(--f-3xl); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: var(--f-xl); }
h4 { font-size: var(--f-lg); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Persian numerals feel */
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section--cream { background: var(--cream); }
.section--soft { background: var(--blue-050); }
.section--navy { background: var(--navy); color: #c3c9e8; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.center { text-align: center; }
.head { max-width: 720px; margin-inline: auto; margin-bottom: 56px; text-align: center; }
.head p { margin-top: 16px; font-size: var(--f-lg); color: var(--muted); }
.section--navy .head p { color: #a3abd4; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--f-xs);
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-100);
  padding: 7px 16px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}
.section--navy .eyebrow { background: rgba(0, 68, 242, .22); color: #9dbaff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  right: 16px;
  top: -100px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--navy);
  flex-shrink: 0;
}
.brand:hover { color: var(--navy); }
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(0, 68, 242, .3);
}
.brand small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); line-height: 1.2; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a {
  color: var(--body);
  font-size: var(--f-sm);
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  transition: all .18s var(--ease);
}
.nav a:hover { color: var(--navy); background: var(--blue-050); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; padding: 8px; border-radius: 8px; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--f-sm);
  line-height: 1;
  transition: all .2s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 68, 242, .3);
}
.btn--primary:hover {
  background: var(--blue-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 68, 242, .4);
}
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(64, 153, 74, .3); }
.btn--green:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.07); }
.btn--sm { padding: 10px 20px; font-size: var(--f-xs); }
.btn--lg { padding: 17px 38px; font-size: var(--f-base); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, #0b1550 55%, #10225f 100%);
  color: #c3c9e8;
  padding-block: 92px 104px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset-inline-start: -12%;
  top: -30%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(0, 68, 242, .55) 0%, transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset-inline-end: -8%;
  bottom: -40%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(248, 81, 86, .25) 0%, transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #7ea3ff; }
.hero .lead { font-size: var(--f-lg); color: #b3bce4; max-width: 560px; }
.hero .eyebrow { background: rgba(255, 255, 255, .1); color: #9dbaff; border: 1px solid rgba(157, 186, 255, .25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--f-sm);
  color: #9aa3cf;
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { flex-shrink: 0; color: var(--green); }

/* Hero stat card */
.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: var(--f-lg); color: #fff; margin-bottom: 22px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  padding: 18px 16px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: var(--f-xs); color: #9aa3cf; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all .25s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-100);
}
.card h3 { margin-bottom: 12px; font-size: var(--f-lg); }
.card p { font-size: var(--f-sm); color: var(--body); }
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--blue-100);
  color: var(--blue);
}
.card__icon--green { background: var(--green-050); color: var(--green); }
.card__icon--pink { background: var(--pink-050); color: var(--pink); }
.card__icon--cream { background: var(--cream); color: #a07b3c; }

/* Benefit list */
.benefit {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px dashed var(--line);
}
.benefit:last-child { border-bottom: 0; }
.benefit__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: var(--f-sm);
}
.benefit h3 { font-size: var(--f-lg); margin-bottom: 6px; }
.benefit p { font-size: var(--f-sm); }

/* ---------- Check list ---------- */
.checks { display: grid; gap: 14px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--f-sm);
}
.checks svg { flex-shrink: 0; margin-top: 6px; color: var(--green); }
.checks--cross svg { color: var(--pink); }

/* ---------- Comparison table ---------- */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.cmp { min-width: 720px; font-size: var(--f-sm); }
.cmp thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 20px 18px;
  text-align: center;
  font-size: var(--f-sm);
  position: sticky;
  top: 0;
}
.cmp thead th:first-child { text-align: right; }
.cmp thead th.is-hl { background: var(--blue); }
.cmp tbody th {
  text-align: right;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 18px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  width: 26%;
}
.cmp tbody td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  color: var(--body);
}
.cmp tbody td.is-hl { background: var(--blue-050); color: var(--navy); font-weight: 500; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--pink); font-weight: 700; }
.mid { color: #b8860b; font-weight: 700; }

/* ---------- Pros / cons split ---------- */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs-box { border-radius: var(--r-lg); padding: 30px; border: 2px solid; }
.vs-box--win { border-color: var(--green); background: var(--green-050); }
.vs-box--lose { border-color: var(--line); background: var(--white); }
.vs-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: var(--f-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq .faq__body { padding: 0 24px 22px; font-size: var(--f-sm); color: var(--body); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: var(--r-lg);
  padding: 56px 48px;
  color: #d3daf7;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset-inline-end: -60px;
  top: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { max-width: 620px; margin-inline: auto; font-size: var(--f-base); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Article ---------- */
.article-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #101a5c 100%);
  color: #b3bce4;
  padding-block: 64px 72px;
}
.article-hero h1 { color: #fff; font-size: var(--f-3xl); margin-bottom: 18px; max-width: 860px; }
.article-hero .lead { font-size: var(--f-lg); color: #a9b3dd; max-width: 780px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  font-size: var(--f-sm);
  color: #8f99c9;
}
.article-meta span { display: flex; align-items: center; gap: 7px; }

.breadcrumb { font-size: var(--f-xs); margin-bottom: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: #9dbaff; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:last-child)::after { content: '‹'; margin-inline-start: 8px; color: #6b76a8; }
.breadcrumb [aria-current] { color: #7d87b8; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding-block: 64px 96px;
}
.prose { max-width: 100%; font-size: var(--f-base); }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  font-size: var(--f-2xl);
  margin-top: 52px;
  padding-top: 8px;
  padding-inline-start: 16px;
  border-inline-start: 5px solid var(--blue);
  line-height: 1.5;
}
.prose h3 { font-size: var(--f-xl); margin-top: 36px; }
.prose h4 { font-size: var(--f-lg); margin-top: 28px; color: var(--navy-500); }
.prose p { color: var(--body); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-inline-start: 4px; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-inline-start: 26px; color: var(--body); }
.prose ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 6px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-inline-start: 38px; counter-increment: n; color: var(--body); }
.prose ol li::before {
  content: counter(n);
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: var(--f-xs);
  font-weight: 700;
}
.prose a { font-weight: 500; border-bottom: 1px solid var(--blue-100); }
.prose a:hover { border-bottom-color: var(--blue); }
.prose blockquote {
  background: var(--cream);
  border-inline-start: 5px solid var(--pink);
  border-radius: var(--r-sm);
  padding: 22px 24px;
  font-size: var(--f-sm);
  color: var(--navy-500);
}
.prose .table-scroll { margin-block: 28px; }
.prose figure { margin-block: 32px; }
.prose figcaption { font-size: var(--f-xs); color: var(--muted); text-align: center; margin-top: 12px; }
.prose code {
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .9em;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  direction: ltr;
  display: inline-block;
  color: var(--navy);
}

.callout {
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: var(--r);
  padding: 24px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.callout svg { flex-shrink: 0; color: var(--blue); margin-top: 4px; }
.callout h4 { margin: 0 0 6px; font-size: var(--f-base); color: var(--navy); }
.callout p { font-size: var(--f-sm); margin: 0; }
.callout--green { background: var(--green-050); border-color: #cbe5ce; }
.callout--green svg { color: var(--green); }
.callout--pink { background: var(--pink-050); border-color: #fbd0d1; }
.callout--pink svg { color: var(--pink); }

/* TOC / sidebar */
.sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.toc {
  background: var(--cream);
  border-radius: var(--r);
  padding: 24px 22px;
}
.toc h2 { font-size: var(--f-base); margin-bottom: 14px; color: var(--navy); }
.toc ol { display: grid; gap: 9px; counter-reset: t; }
.toc a {
  font-size: var(--f-sm);
  color: var(--body);
  display: block;
  line-height: 1.7;
  border-inline-start: 2px solid transparent;
  padding-inline-start: 12px;
}
.toc a:hover { color: var(--blue); border-inline-start-color: var(--blue); }

.side-cta {
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue) 140%);
  border-radius: var(--r);
  padding: 26px 24px;
  color: #c3c9e8;
  text-align: center;
}
.side-cta h2 { color: #fff; font-size: var(--f-base); margin-bottom: 10px; }
.side-cta p { font-size: var(--f-xs); margin-bottom: 18px; }
.side-cta .btn { width: 100%; }

/* Related posts */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .25s var(--ease);
  height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.post-card__thumb {
  height: 152px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
}
.post-card__thumb svg { width: 48px; height: 48px; opacity: .92; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: var(--f-base); line-height: 1.7; }
.post-card h3 a { color: var(--ink); }
.post-card:hover h3 a { color: var(--blue); }
.post-card p { font-size: var(--f-sm); color: var(--muted); flex: 1; }
.tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-050);
  padding: 4px 12px;
  border-radius: var(--r-full);
}
.post-card__meta { font-size: var(--f-xs); color: var(--muted); display: flex; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #8f99c9; padding-block: 72px 0; font-size: var(--f-sm); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: var(--f-base); margin-bottom: 20px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand small { color: #8f99c9; }
.site-footer ul { display: grid; gap: 12px; }
.site-footer a { color: #a9b3dd; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 6px; color: #6b76a8; }
.footer-contact a { direction: ltr; display: inline-block; font-weight: 700; color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  display: grid;
  place-items: center;
  color: #a9b3dd;
  transition: all .2s var(--ease);
}
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: var(--f-xs);
  color: #6b76a8;
}

/* ---------- Floating call button ---------- */
.call-fab {
  position: fixed;
  inset-inline-start: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--f-sm);
  box-shadow: 0 8px 26px rgba(64, 153, 74, .42);
  transition: transform .2s var(--ease);
}
.call-fab:hover { color: #fff; transform: translateY(-3px); }
.call-fab span { direction: ltr; font-variant-numeric: tabular-nums; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --f-4xl: 2.4rem; --f-3xl: 1.95rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .site-header .wrap { height: 68px; }
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    gap: 2px;
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; font-size: var(--f-base); }
  .nav-toggle { display: grid; place-items: center; margin-inline-start: auto; }
  .header-cta .btn { display: none; }
  .header-cta .btn--primary { display: inline-flex; }
}

@media (max-width: 720px) {
  :root { --f-4xl: 2rem; --f-3xl: 1.65rem; --f-2xl: 1.4rem; --f-xl: 1.2rem; --f-base: 1rem; }
  .section { padding-block: 64px; }
  .grid-2, .grid-3, .grid-4, .vs-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero { padding-block: 60px 72px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .call-fab { padding: 12px 18px; font-size: var(--f-xs); }
  .prose h2 { margin-top: 40px; }
  .head { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .call-fab, .sidebar, .cta-band, .side-cta { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .article-hero { background: none; color: #000; padding-block: 20px; }
  .article-hero h1, .article-hero .lead { color: #000; }
}
