:root {
  color: #18233d;
  background: #f5f8ff;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(93, 129, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(107, 188, 237, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f9ff 0%, #edf2ff 100%);
}

a {
  color: inherit;
}

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

.blogShell {
  min-height: 100vh;
}

.blogHeader,
.blogFooter,
.blogPage,
.articlePage,
.notFoundPage {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.blogHeader {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.blogBrand,
.blogNav,
.blogMeta,
.breadcrumbs {
  display: flex;
  align-items: center;
}

.blogBrand {
  gap: 12px;
  color: #18233d;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.blogNav {
  gap: 18px;
  color: #536381;
  font-size: 16px;
  font-weight: 600;
}

.blogNav a,
.blogFooter a,
.breadcrumbs a {
  text-decoration: none;
}

.blogPage {
  padding: 40px 0 88px;
}

.blogHero {
  max-width: 900px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #4d71f8;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blogHero h1,
.notFoundPage h1 {
  margin: 0 0 18px;
  color: #18233d;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.blogHero p,
.notFoundPage p {
  max-width: 760px;
  margin: 0;
  color: #667897;
  font-size: clamp(18px, 2.4vw, 24px);
}

.blogGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.blogCard a {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border: 1px solid rgba(215, 223, 242, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 64px rgba(115, 134, 181, 0.12);
  text-decoration: none;
}

.blogTag {
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  color: #4d71f8;
  background: rgba(77, 113, 248, 0.1);
  font-size: 14px;
  font-weight: 800;
}

.blogCard h2 {
  margin: 0;
  color: #18233d;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.blogCard p {
  flex: 1;
  margin: 0;
  color: #7082a4;
  font-size: 18px;
}

.blogMeta {
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #dce2f1;
  color: #7e8eaa;
  font-size: 15px;
}

.articlePage {
  padding: 26px 0 88px;
}

.breadcrumbs {
  gap: 10px;
  margin-bottom: 24px;
  color: #6e80a2;
  font-size: 15px;
}

.articleDocument {
  overflow: hidden;
  border: 1px solid rgba(215, 223, 242, 0.92);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(87, 108, 158, 0.14);
}

.articleDocument > *:first-child {
  margin-top: 0;
}

.blogFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 42px;
  color: #7082a4;
}

.blogFooter p {
  margin: 0;
}

.notFoundPage {
  padding: 72px 0 120px;
}

.notFoundPage a {
  display: inline-flex;
  margin-top: 28px;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  background: #4d71f8;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .blogHeader,
  .blogFooter {
    align-items: flex-start;
    flex-direction: column;
  }

  .blogNav {
    flex-wrap: wrap;
  }

  .blogGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blogHeader,
  .blogFooter,
  .blogPage,
  .articlePage,
  .notFoundPage {
    width: min(100% - 28px, 1280px);
  }

  .blogPage {
    padding-top: 24px;
  }

  .blogCard a {
    padding: 22px;
    border-radius: 22px;
  }

  .articleDocument {
    border-radius: 24px;
  }
}
