html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #102235;
  background:
    linear-gradient(180deg, rgba(229, 242, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 42%, #ffffff 100%),
    #ffffff;
}

* {
  box-sizing: border-box;
}

a {
  color: #017ffe;
}

.blog-shell {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.blog-header {
  position: sticky;
  top: -1px;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 34, 53, 0.08);
  background: rgba(246, 249, 255, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(2, 9, 23, 0.08);
}

.blog-header-inner {
  width: min(1120px, calc(100% - 32px));
  max-width: 100%;
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.blog-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.blog-logo img {
  width: clamp(166px, 22vw, 214px);
  max-width: 100%;
  height: auto;
  display: block;
}

.blog-nav {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 6px;
  max-width: 100%;
  padding: 5px;
  border: 1px solid rgba(1, 127, 254, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.blog-nav a {
  min-height: 30px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #17324d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.blog-nav a:hover,
.blog-nav a[aria-current="page"] {
  color: #017ffe;
  background: rgba(1, 127, 254, 0.08);
}

.blog-main {
  width: min(1040px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) 0 48px;
}

.blog-hero {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.blog-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 1px solid rgba(1, 127, 254, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #0171de;
  font-size: 13px;
  font-weight: 900;
}

.blog-hero h1,
.article h1 {
  margin: 0 0 14px;
  color: #0a1d31;
  font-size: clamp(40px, 7vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.blog-hero p,
.article-lede {
  margin: 0;
  color: rgba(16, 34, 53, 0.72);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  min-height: 245px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px;
  border: 1px solid rgba(1, 127, 254, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 255, 0.96));
  color: #102235;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(23, 50, 77, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow-wrap: anywhere;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(23, 50, 77, 0.13);
}

.post-tag,
.article-meta {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(1, 127, 254, 0.09);
  color: #0171de;
  font-size: 12px;
  font-weight: 900;
}

.post-card h2 {
  margin: 0;
  color: #0a1d31;
  font-size: 24px;
  line-height: 1.12;
}

.post-card p {
  margin: 0;
  color: rgba(16, 34, 53, 0.66);
  line-height: 1.58;
}

.read-more {
  width: fit-content;
  min-height: 40px;
  margin-top: auto;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #2c98ff 0%, #017ffe 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(1, 127, 254, 0.20);
}

.post-card:hover .read-more,
.post-card:focus-visible .read-more {
  background: linear-gradient(180deg, #168cff 0%, #006edb 100%);
}

.article {
  max-width: 780px;
  margin: 0 auto;
}

.article-card {
  margin-top: 28px;
  max-width: 100%;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(16, 34, 53, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(23, 50, 77, 0.10);
}

.article-card h2 {
  margin: 28px 0 10px;
  color: #0a1d31;
  font-size: 28px;
  line-height: 1.16;
}

.article-card h2:first-child {
  margin-top: 0;
}

.article-card p,
.article-card li {
  color: rgba(16, 34, 53, 0.74);
  font-size: 17px;
  line-height: 1.75;
}

.article-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.article-cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-cta a {
  min-height: 44px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(1, 127, 254, 0.18);
  background: #ffffff;
  color: #017ffe;
  text-decoration: none;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.article-cta a.primary {
  border: 0;
  background: linear-gradient(180deg, #2c98ff 0%, #017ffe 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(1, 127, 254, 0.22);
}

.blog-footer {
  width: min(1040px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 22px;
  border: 1px solid rgba(16, 34, 53, 0.08);
  border-radius: 22px;
  background: #ffffff;
  color: rgba(16, 34, 53, 0.72);
  text-align: center;
}

.blog-footer a {
  margin: 4px 8px;
  display: inline-flex;
  color: #17324d;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 920px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .blog-header-inner {
    width: min(100% - 24px, 1120px);
    min-height: 72px;
    gap: 10px;
  }

  .blog-logo img {
    width: clamp(148px, 38vw, 172px);
  }

  .blog-nav {
    gap: 3px;
    padding: 4px;
  }

  .blog-nav a {
    min-height: 28px;
    padding: 0 9px;
    font-size: 12px;
  }

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

  .blog-main,
  .blog-footer {
    width: min(100% - 24px, 1040px);
  }

  .post-card {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .article-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-cta a {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .blog-header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
  }

  .blog-nav {
    width: 100%;
    justify-content: center;
  }
}
