:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #5b6470;
  --primary: #3b5bff;
  --primary_dark: #2f49d6;
  --card: #f6f8ff;
  --border: #e7e9ee;
  --shadow: 0 10px 30px rgba(18, 22, 33, 0.08);
  --radius: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #7b8dff);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav a {
  color: var(--text);
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 10px;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: #eef1ff;
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary_dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #cfd6ff;
  background: #f5f7ff;
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dbe0ff;
  background: #f4f6ff;
  color: #2a3cff;
  font-weight: 800;
  font-size: 0.85rem;
}

.hero {
  padding: 44px 0 24px;
  background: radial-gradient(900px 380px at 50% 0%, #eef1ff 0%, rgba(238, 241, 255, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-card figure {
  margin: 0;
}

.hero-card img {
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--border);
  max-height: 520px;
  width: auto;
  margin-inline: auto;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.kpi {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfbff;
}

.kpi strong {
  display: block;
  font-size: 1.05rem;
}

.section {
  padding: 44px 0;
}

.section h2 {
  font-size: 1.55rem;
  margin: 0 0 14px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 22px rgba(18, 22, 33, 0.06);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(18, 22, 33, 0.06);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card .post-body {
  padding: 16px;
}

.post-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.post-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.small {
  font-size: 0.93rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: #0f1220;
  color: #e9ecff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.site-footer a {
  color: #e9ecff;
}

.site-footer .muted {
  color: rgba(233, 236, 255, 0.75);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.article {
  padding: 26px 0 52px;
}

.article-header {
  padding: 20px 0;
}

.article-header h1 {
  margin: 10px 0 10px;
  font-size: clamp(1.7rem, 4.4vw, 2.4rem);
  line-height: 1.2;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

.article-hero {
  margin-top: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.prose {
  max-width: 74ch;
}

.prose p {
  margin: 0 0 14px;
}

.prose h2 {
  margin: 22px 0 10px;
  font-size: 1.32rem;
}

.prose ul {
  margin: 0 0 14px 18px;
}

.callout {
  border: 1px solid #dbe0ff;
  background: #f4f6ff;
  border-radius: var(--radius);
  padding: 14px;
  margin: 16px 0;
}

.callout strong {
  display: block;
  margin-bottom: 6px;
}

.article-cta {
  margin-top: 26px;
  border: 1px solid #cfd6ff;
  background: linear-gradient(135deg, #f4f6ff, #ffffff);
  border-radius: var(--radius);
  padding: 18px;
}

.article-cta h2 {
  margin-top: 0;
}

.related {
  margin-top: 26px;
}

.related ul {
  margin: 10px 0 0 18px;
}

.breadcrumb {
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--muted);
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .nav {
    display: none;
  }
}
