:root {
  --brand: #06b8d3;
  --brand-dark: #0291aa;
  --ink: #102027;
  --charcoal: #07161b;
  --muted: #5b6970;
  --line: #d9e5e8;
  --surface: #f5fbfc;
  --white: #ffffff;
  --shadow: 0 22px 65px rgba(16, 32, 39, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 229, 232, 0.9);
  backdrop-filter: blur(16px);
}

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

.logo img {
  width: 210px;
  height: auto;
}

.links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #24363c;
  font-size: 14px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 13px 34px rgba(6, 184, 211, 0.28);
}

.button.dark {
  background: var(--charcoal);
  box-shadow: 0 13px 34px rgba(16, 32, 39, 0.18);
}

.hero {
  padding: 72px 0 46px;
  background:
    radial-gradient(circle at 8% 18%, rgba(6, 184, 211, 0.14), transparent 30%),
    linear-gradient(180deg, #f5fbfc 0%, #fff 100%);
}

.kicker {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Alatsi, Inter, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 42px 0 84px;
}

.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(16, 32, 39, 0.09);
}

.post-card img {
  width: 100%;
  height: clamp(210px, 20vw, 270px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.post-card img.ispm-thumb {
  object-position: 18% center;
}

.post-card .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.post-card h2 {
  font-size: 28px;
  line-height: 1.05;
}

.post-card p {
  margin: 14px 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.read-more {
  margin-top: auto;
  color: var(--brand-dark);
  font-weight: 900;
}

.article-hero {
  padding: 42px 0 0;
  background: #f5fbfc;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--brand-dark);
  font-weight: 900;
}

.article-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.article-head img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.article-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #34464d;
  font-size: 13px;
  font-weight: 800;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 720px) 320px;
  gap: 56px;
  padding: 58px 0 92px;
  align-items: start;
}

.article-content {
  font-size: 18px;
  line-height: 1.82;
}

.article-content h2 {
  margin: 44px 0 14px;
  font-size: 36px;
  line-height: 1.1;
}

.article-content p,
.article-content li {
  color: #34464d;
}

.article-content ul {
  padding-left: 22px;
}

.aside-card {
  position: sticky;
  top: 104px;
  padding: 24px;
  border-radius: 20px;
  background: var(--charcoal);
  color: #fff;
  box-shadow: 0 22px 52px rgba(16, 32, 39, 0.18);
}

.aside-card p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.faq {
  margin-top: 42px;
}

.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.faq-item strong {
  display: block;
  font-size: 19px;
}

.faq-item p {
  margin: 8px 0 0;
}

footer {
  padding: 34px 0;
  background: #07161b;
  color: rgba(255, 255, 255, 0.72);
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer .footer-logo {
  width: 150px;
  height: auto;
  background: #fff;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  opacity: 0.95;
  transition: opacity 180ms ease, transform 180ms ease;
}

.creator-link::after {
  content: "";
  position: absolute;
  inset: 8px -42%;
  background: linear-gradient(105deg, transparent 35%, rgba(24, 192, 222, 0.22) 50%, transparent 65%);
  transform: translateX(-85%);
  animation: creator-shine 6.5s ease-in-out infinite;
  pointer-events: none;
}

.creator-link:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.02);
}

.creator-link img {
  width: 184px;
  height: auto;
}

@keyframes creator-shine {
  0%, 68% {
    transform: translateX(-85%);
    opacity: 0;
  }

  76% {
    opacity: 1;
  }

  92%, 100% {
    transform: translateX(85%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .creator-link::after {
    animation: none;
  }
}

@media (max-width: 920px) {
  .links {
    display: none;
  }

  .blog-grid,
  .article-head,
  .article {
    grid-template-columns: 1fr;
  }

  .aside-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .logo img {
    width: 168px;
  }

  .nav .wrap {
    min-height: 74px;
  }

  .hero {
    padding-top: 52px;
  }
}
