@font-face {
  font-family: "Inter";
  src: local("Inter");
}

:root {
  color: #111217;
  background: #fff;
  font-family: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #111217;
  background: #fff;
}

a {
  color: inherit;
}

.cms-public-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(100%, 1880px);
  margin: 0 auto;
  padding: 20px 72px 12px;
  font-size: 26px;
  line-height: 1;
}

.cms-public-header nav,
.cms-public-header > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cms-public-header nav a,
.cms-public-header > div a {
  text-decoration: none;
}

.cms-public-header > div {
  justify-content: flex-end;
}

.cms-public-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #121216;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

.cms-public-logo-mark {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ad2ffb 0%, #6d43ff 100%);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  transform: skew(-10deg);
}

.cms-public-logo span:last-child {
  transform: translateY(1px);
}

.cms-public-signin,
.cms-public-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 42px;
  border-radius: 18px;
  border: 1px solid #8d8d95;
  font-weight: 600;
}

.cms-public-cta {
  color: #fff;
  background: #0d0f14;
  border-color: #0d0f14;
  box-shadow: 0 18px 36px rgb(0 0 0 / 18%);
}

.cms-public {
  width: min(100%, 1880px);
  margin: 0 auto;
  padding: 0 72px 80px;
}

.cms-blog-hero,
.cms-article-hero {
  display: grid;
  place-items: center;
  min-height: 720px;
  margin-top: 16px;
  border-radius: 44px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 12% 22%, rgb(117 130 132 / 74%), transparent 35%),
    radial-gradient(circle at 80% 90%, rgb(83 91 116 / 90%), transparent 36%),
    linear-gradient(135deg, #1f2429, #07090d 64%);
  overflow: hidden;
}

.cms-blog-hero p,
.cms-article-pill {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 16px;
  background: rgb(255 255 255 / 5%);
  color: #f7f7f9;
  font-size: 24px;
  font-weight: 700;
}

.cms-blog-hero h1,
.cms-article-hero h1 {
  max-width: 1240px;
  margin: 34px auto 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 500;
}

.cms-article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 54px;
  color: rgb(255 255 255 / 62%);
  font-size: 24px;
  font-weight: 600;
}

.cms-article-meta img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.cms-article-meta-avatar {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  background: #315cf6;
  font-size: 16px;
  font-weight: 800;
}

.cms-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding: 80px 0 20px;
}

.cms-blog-card {
  min-width: 0;
  text-decoration: none;
}

.cms-blog-card__media {
  aspect-ratio: 1.45;
  border-radius: 28px;
  background: #f0f1f5;
  overflow: hidden;
}

.cms-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cms-blog-card__body {
  padding: 22px 6px;
}

.cms-blog-card__body span {
  color: #7d7f88;
  font-size: 18px;
}

.cms-blog-card__body h2 {
  margin: 12px 0;
  font-size: 30px;
  line-height: 1.16;
}

.cms-blog-card__body p {
  color: #555861;
  font-size: 20px;
  line-height: 1.45;
}

.cms-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 80px;
  align-items: start;
  padding-top: 100px;
}

.cms-article-body {
  min-width: 0;
  font-size: 28px;
  line-height: 1.42;
}

.cms-article-cover {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  display: block;
  border-radius: 44px;
  margin-bottom: 42px;
}

.cms-article-body h2 {
  scroll-margin-top: 28px;
  margin: 64px 0 18px;
  font-size: 52px;
  line-height: 1.1;
}

.cms-article-body h3 {
  scroll-margin-top: 28px;
  margin: 42px 0 14px;
  font-size: 36px;
}

.cms-article-body figure,
.cms-page-body figure {
  margin: 34px 0;
}

.cms-article-body figure img,
.cms-page-body figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 28px;
}

.cms-article-body figcaption,
.cms-page-body figcaption {
  margin-top: 10px;
  color: #7d7f88;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.cms-article-body p,
.cms-article-body li {
  margin: 0 0 24px;
}

.cms-article-body a {
  color: #315cf6;
  text-decoration: none;
}

.cms-public-blog-detail .cms-article-body > .ail-author-card:first-child {
  display: none;
}

.cms-article-rail {
  position: sticky;
  top: 24px;
}

.cms-cta-card {
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 24% 36%, rgb(54 86 246 / 30%), transparent 42%),
    linear-gradient(145deg, #1e2427, #0b0d12 65%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
}

.cms-cta-card > div {
  display: flex;
  justify-content: space-between;
  padding: 36px 42px 14px;
  font-size: 30px;
}

.cms-cta-card strong {
  color: #ff5b55;
}

.cms-cta-card span {
  color: rgb(255 255 255 / 55%);
  border: 1px solid rgb(255 255 255 / 12%);
  padding: 4px 16px;
  border-radius: 20px;
}

.cms-cta-card h2 {
  margin: 18px 42px 44px;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 500;
}

.cms-cta-card a {
  display: flex;
  justify-content: center;
  margin: 0 42px 54px;
  padding: 24px 18px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  font-weight: 700;
  background: #315cf6;
}

.cms-cta-card ul {
  margin: 0;
  padding: 38px 42px 48px;
  border-top: 1px solid rgb(255 255 255 / 9%);
  list-style: none;
  color: #fff;
  font-size: 24px;
}

.cms-cta-card li {
  margin: 18px 0;
}

.cms-toc {
  padding-top: 36px;
  font-size: 24px;
}

.cms-toc h2 {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 500;
}

.cms-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8a8b91;
}

.cms-toc li {
  margin: 0 0 18px;
}

.cms-toc a {
  color: inherit;
  text-decoration: none;
}

.cms-toc a:hover {
  color: #111217;
}

.cms-toc-level-3 {
  padding-left: 18px;
  font-size: .92em;
}

.cms-related {
  border-top: 1px solid #dedfea;
  padding: 90px 0 20px;
}

.cms-related h2 {
  font-size: 52px;
}

.cms-related div {
  display: grid;
  gap: 16px;
}

.cms-related a {
  display: block;
  padding: 24px 28px;
  border-radius: 18px;
  background: #f3f4f7;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
}

.cms-blog-author-section {
  margin: 84px 0 88px;
  padding: 0 0 78px;
  border-bottom: 1px solid #dedfea;
}

.cms-blog-author-section h2 {
  margin: 0 0 42px;
  font-size: 52px;
  line-height: 1;
  font-weight: 500;
  color: #111217;
}

.cms-blog-author-card {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.cms-blog-author-avatar {
  width: 290px;
  height: 290px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2429, #07090d);
}

.cms-blog-author-avatar img,
.cms-blog-author-avatar span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: #fff;
  font-size: 72px;
  font-weight: 800;
}

.cms-blog-author-copy h3 {
  margin: 0 0 28px;
  color: #315cf6;
  font-size: 52px;
  line-height: 1;
  font-weight: 500;
}

.cms-blog-author-copy p {
  max-width: 920px;
  margin: 0;
  color: #111217;
  font-size: 44px;
  line-height: 1.25;
  font-weight: 400;
}

.cms-page-hero,
.cms-template-hero {
  display: grid;
  align-items: center;
  min-height: 520px;
  margin-top: 16px;
  padding: 72px;
  border-radius: 44px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 22%, rgb(117 130 132 / 58%), transparent 35%),
    linear-gradient(135deg, #1f2429, #07090d 64%);
}

.cms-template-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
  gap: 48px;
}

.cms-page-hero p:first-child,
.cms-template-hero p:first-child {
  margin: 0 0 18px;
  color: rgb(255 255 255 / 70%);
  font-size: 22px;
  font-weight: 700;
}

.cms-page-hero h1,
.cms-template-hero h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(52px, 6vw, 86px);
  line-height: 1.04;
  font-weight: 500;
}

.cms-page-hero p:last-child,
.cms-template-hero p:last-child {
  max-width: 760px;
  color: rgb(255 255 255 / 72%);
  font-size: 26px;
  line-height: 1.36;
}

.cms-template-hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  margin-top: 22px;
  padding: 0 34px;
  border-radius: 18px;
  color: #fff;
  background: #315cf6;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
}

.cms-template-hero img {
  width: 100%;
  max-height: 420px;
  border-radius: 28px;
  aspect-ratio: 1.24;
  object-fit: cover;
}

.cms-template-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 74px;
  align-items: start;
  padding-top: 86px;
}

.cms-template-body {
  margin: 0;
}

.cms-template-rail {
  position: sticky;
  top: 24px;
}

.cms-template-cta-card {
  border-radius: 24px;
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 24% 20%, rgb(49 92 246 / 36%), transparent 42%),
    linear-gradient(145deg, #1f2429, #090b10 72%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
}

.cms-template-cta-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: rgb(255 255 255 / 62%);
  font-size: 20px;
  font-weight: 700;
}

.cms-template-cta-card h2 {
  margin: 0 0 30px;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 500;
}

.cms-template-cta-card a {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  padding: 22px 18px;
  border-radius: 18px;
  color: #fff;
  background: #315cf6;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
}

.cms-template-cta-card ul {
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
  list-style: none;
  color: rgb(255 255 255 / 82%);
  font-size: 20px;
}

.cms-template-cta-card li {
  margin: 14px 0;
}

.cms-page-cover {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  margin-top: 60px;
  border-radius: 36px;
}

.cms-page-body {
  max-width: 980px;
  margin: 80px auto 0;
  font-size: 24px;
  line-height: 1.55;
}

.cms-page-body h2 {
  margin: 56px 0 18px;
  font-size: 44px;
  line-height: 1.1;
}

.cms-page-body h3 {
  margin: 38px 0 14px;
  font-size: 32px;
}

.cms-page-body img {
  max-width: 100%;
  border-radius: 24px;
}

.cms-page-body table {
  width: 100%;
  border-collapse: collapse;
}

.cms-page-body td,
.cms-page-body th {
  padding: 12px;
  border: 1px solid #d7dce8;
}

.cms-public-footer {
  width: min(100%, 1880px);
  margin: 0 auto;
  padding: 50px 72px;
  color: #7d7f88;
  font-size: 18px;
}

@media (max-width: 980px) {
  .cms-public-header {
    grid-template-columns: 1fr auto;
    padding: 18px 20px;
    font-size: 18px;
  }

  .cms-public-header nav {
    display: none;
  }

  .cms-public-signin {
    display: none;
  }

  .cms-public-cta {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
  }

  .cms-public {
    padding: 0 20px 60px;
  }

  .cms-blog-hero,
  .cms-article-hero {
    min-height: 520px;
    border-radius: 28px;
    padding: 32px;
  }

  .cms-article-layout,
  .cms-blog-grid,
  .cms-template-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }

  .cms-article-body {
    font-size: 20px;
  }

  .cms-article-body h2 {
    font-size: 36px;
  }

  .cms-article-rail {
    position: static;
    display: flex;
    flex-direction: column;
  }

  .cms-toc {
    display: none;
  }

  .cms-cta-card {
    order: 1;
  }

  .cms-template-rail {
    position: static;
  }

  .cms-blog-author-section {
    margin: 56px 0 64px;
    padding-bottom: 48px;
  }

  .cms-blog-author-section h2 {
    margin-bottom: 28px;
    font-size: 36px;
  }

  .cms-blog-author-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 22px;
  }

  .cms-blog-author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 22px;
  }

  .cms-blog-author-avatar span {
    font-size: 34px;
  }

  .cms-blog-author-copy h3 {
    margin-bottom: 12px;
    font-size: 32px;
  }

  .cms-blog-author-copy p {
    font-size: 22px;
  }

  .cms-page-hero,
  .cms-template-hero {
    grid-template-columns: 1fr;
    min-height: 420px;
    padding: 36px 24px;
    border-radius: 28px;
  }

  .cms-page-body {
    margin-top: 48px;
    font-size: 20px;
  }

  .cms-page-body h2 {
    font-size: 34px;
  }
}
