:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --surface: #11151b;
  --surface-2: #161b22;
  --text: #eef2f7;
  --muted: #9aa6b2;
  --line: #242b35;
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 0%, rgba(125,211,252,.08), transparent 28rem),
    radial-gradient(circle at 15% 15%, rgba(167,139,250,.07), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Vazirmatn, IRANSansX, Tahoma, Arial, sans-serif;
  line-height: 1.85;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.shell { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(10,12,16,.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(125,211,252,.14), rgba(167,139,250,.11));
  font-size: 15px;
}

nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }

main { padding: 70px 0 90px; }
.hero { padding: 52px 0 34px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
h1 { margin: 10px 0 16px; font-size: clamp(40px, 8vw, 72px); line-height: 1.12; letter-spacing: -.04em; }
.hero p { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(17px, 3vw, 20px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
}
.button.primary { background: var(--text); color: #0b0d11; border-color: transparent; }
.button:hover { transform: translateY(-1px); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 34px; }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
  border-radius: 18px;
  padding: 22px;
}
.card h2, .card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; }

.article { max-width: 800px; }
.article h1 { font-size: clamp(34px, 6vw, 54px); letter-spacing: -.03em; }
.article h2 { margin-top: 42px; font-size: 24px; }
.article h3 { margin-top: 28px; font-size: 19px; }
.article p, .article li { color: #c8d1da; }
.article ul { padding-right: 22px; }
.notice {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: 16px 18px;
  color: #dbe4ec;
  margin: 22px 0;
}
.kv {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kv div:nth-child(odd) { color: var(--muted); }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }

@media (max-width: 700px) {
  nav { gap: 12px; font-size: 13px; }
  .grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv div:nth-child(odd) { margin-top: 10px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}
