@font-face {
  font-family: 'HBox Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'HBox Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-wght-italic.woff2') format('woff2');
}

:root {
  --hbox-ink: #0b0b1a;
  --hbox-ink-soft: #3d3e52;
  --hbox-muted: #696a7e;
  --hbox-line: #e7e8f0;
  --hbox-paper: #f7f7fc;
  --hbox-indigo: #4f46e5;
  --hbox-violet: #6d3bff;
  --hbox-blue: #2f80ed;
  --hbox-azure: #38a5ff;
  --hbox-gradient: linear-gradient(135deg, #6d3bff 0%, #4f46e5 50%, #38a5ff 100%);
  --hbox-font-body: 'HBox Montserrat', Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hbox-font-display: var(--hbox-font-body);
  --hbox-container: 1240px;
  --hbox-reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--hbox-ink);
  background: #fff;
  font-family: var(--hbox-font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select,
summary {
  font: inherit;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

::selection {
  color: #fff;
  background: var(--hbox-indigo);
}

:focus-visible {
  outline: 3px solid rgb(79 70 229 / 36%);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--hbox-ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--hbox-indigo);
  font-family: var(--hbox-font-display);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: -0.012em;
}

.section-index > span {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--hbox-gradient);
  box-shadow: 0 5px 14px rgb(79 70 229 / 24%);
}

.text-link,
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid rgb(11 11 26 / 24%);
  color: var(--hbox-ink);
  font-size: 0.78rem;
  font-weight: 720;
}

.text-link span,
.footer-contact span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.footer-contact:hover span {
  transform: translate(2px, -2px);
}

.button-primary,
.button-light,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 0.83rem;
  font-weight: 720;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary,
.header-cta {
  color: #fff;
  background: var(--hbox-indigo);
  box-shadow: 0 10px 24px rgb(79 70 229 / 23%);
}

.button-light {
  color: var(--hbox-ink);
  background: #fff;
  box-shadow: 0 13px 32px rgb(4 7 28 / 18%);
}

.button-primary:hover,
.header-cta:hover,
.button-light:hover {
  transform: translateY(-2px);
}

.button-primary:hover,
.header-cta:hover {
  background: #4338ca;
  box-shadow: 0 14px 30px rgb(79 70 229 / 29%);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) 178px;
  align-items: center;
  width: min(1230px, calc(100% - 36px));
  min-height: 72px;
  padding: 8px 10px 8px 20px;
  border-radius: 18px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 16px 48px rgb(24 25 59 / 9%);
  backdrop-filter: blur(20px) saturate(140%);
  transform: translateX(-50%);
  transition: top 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 18px 54px rgb(24 25 59 / 13%);
}

.brand-crop {
  position: relative;
  display: block;
  width: 140px;
  height: 48px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.brand-image {
  position: absolute;
  top: -22px;
  left: -31px;
  width: 182px;
  max-width: none;
  height: 91px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #4a4b5f;
  font-family: var(--hbox-font-display);
  font-size: 0.8rem;
  font-weight: 650;
}

.desktop-nav > a,
.audience-menu > summary {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 180ms ease;
}

.desktop-nav > a::after,
.audience-menu > summary::after {
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--hbox-indigo);
  content: '';
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-current,
.audience-menu > summary:hover,
.audience-menu[open] > summary {
  color: var(--hbox-ink);
}

.desktop-nav > a:hover::after,
.desktop-nav > a.is-current::after,
.audience-menu > summary:hover::after,
.audience-menu[open] > summary::after {
  transform: scaleX(1);
}

.audience-menu {
  position: relative;
}

.audience-menu > summary span {
  margin-left: 6px;
  color: #858698;
  font-size: 0.9rem;
  transition: transform 180ms ease;
}

.audience-menu[open] > summary span {
  transform: rotate(180deg);
}

.audience-panel {
  position: absolute;
  top: calc(100% + 17px);
  left: 50%;
  display: grid;
  grid-template-columns: 230px minmax(340px, 1fr);
  gap: 10px;
  width: 650px;
  padding: 10px;
  border-radius: 18px;
  background: rgb(255 255 255 / 99%);
  box-shadow: 0 28px 76px rgb(20 21 53 / 17%), 0 8px 20px rgb(20 21 53 / 7%);
  transform: translateX(-50%);
}

.audience-overview {
  display: flex;
  min-height: 325px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  overflow: hidden;
  border-radius: 9px;
  color: #fff;
  background: radial-gradient(circle at 93% 6%, rgb(56 165 255 / 27%), transparent 31%), linear-gradient(145deg, #111126, #171a36 62%, #174e8f);
}

.author-mark,
.aside-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--hbox-gradient);
  font-family: var(--hbox-font-display);
  font-weight: 760;
}

.audience-logo {
  width: 128px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(4 7 28 / 22%);
  transform: scale(0.9);
  transform-origin: left top;
}

.audience-overview small {
  margin-top: auto;
  color: #b8d5eb;
  font-size: 0.64rem;
  font-weight: 720;
}

.audience-overview strong {
  max-width: 180px;
  margin-top: 10px;
  font-size: 1.48rem;
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.audience-overview > span:not(.audience-logo) {
  max-width: 190px;
  margin-top: 12px;
  color: #c7c9d8;
  font-family: var(--hbox-font-body);
  font-size: 0.69rem;
  font-weight: 450;
  line-height: 1.5;
}

.audience-overview b {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 21px;
  font-family: var(--hbox-font-body);
  font-size: 0.68rem;
}

.audience-overview i,
.audience-list i,
.topic-grid i {
  font-style: normal;
  transition: transform 180ms ease;
}

.audience-overview:hover i,
.audience-list a:hover i,
.topic-grid a:hover i {
  transform: translate(2px, -2px);
}

.audience-list {
  display: grid;
  align-content: stretch;
  padding: 3px 4px;
}

.audience-list > a {
  display: grid;
  grid-template-columns: 1fr 16px;
  gap: 15px;
  align-items: center;
  min-height: 62px;
  padding: 9px 12px;
  box-shadow: inset 0 -1px #ececf2;
  transition: color 180ms ease, background 180ms ease;
}

.audience-list > a:last-child {
  box-shadow: none;
}

.audience-list > a:hover {
  color: var(--hbox-indigo);
  background: #f5f4ff;
}

.audience-list strong,
.audience-list small {
  display: block;
}

.audience-list strong {
  font-size: 0.77rem;
  line-height: 1.25;
}

.audience-list small {
  margin-top: 4px;
  color: #77788c;
  font-family: var(--hbox-font-body);
  font-size: 0.62rem;
  font-weight: 450;
  line-height: 1.4;
}

.audience-list i {
  color: #999aa9;
  font-family: var(--hbox-font-body);
  font-size: 0.8rem;
}

.header-cta {
  justify-self: end;
  min-width: 164px;
  min-height: 50px;
}

.mobile-menu {
  display: none;
}

/* Archive and home */
.archive-hero {
  position: relative;
  width: min(var(--hbox-container), calc(100% - 80px));
  margin: 0 auto;
  padding: 176px 0 72px;
}

.archive-hero::before {
  position: absolute;
  z-index: -1;
  top: 74px;
  right: -190px;
  width: 570px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(109 59 255 / 9%), transparent 70%);
  content: '';
}

.archive-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 50px;
  align-items: end;
}

.archive-hero-copy .section-index {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.archive-hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--hbox-font-display);
  font-size: clamp(3.2rem, 6.3vw, 6.15rem);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.068em;
}

.archive-hero-copy > p:last-child {
  max-width: 430px;
  margin: 0 0 7px;
  color: var(--hbox-ink-soft);
  font-size: 1.04rem;
  line-height: 1.75;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--hbox-line);
}

.category-pills a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--hbox-line);
  border-radius: 999px;
  color: #4d4e63;
  font-size: 0.79rem;
  font-weight: 650;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.category-pills a:hover {
  border-color: rgb(79 70 229 / 35%);
  color: var(--hbox-indigo);
  background: #f6f5ff;
  transform: translateY(-1px);
}

.breadcrumbs {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--hbox-line);
}

.breadcrumbs ol {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #77788c;
  list-style: none;
}

.breadcrumbs li {
  min-width: 0;
  font-size: 0.71rem;
}

.breadcrumbs a:hover {
  color: var(--hbox-indigo);
}

.breadcrumb-current {
  max-width: 420px;
  overflow: hidden;
  color: #4f5063;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-section,
.latest-section,
.topic-section,
.related-section {
  width: min(var(--hbox-container), calc(100% - 80px));
  margin: 0 auto;
}

.featured-section {
  padding: 24px 0 120px;
}

.featured-section > .section-index {
  margin-bottom: 34px;
}

.post-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
}

.post-card-image {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 22px;
  background: var(--hbox-paper);
}

.post-card-featured .post-card-image {
  min-height: 560px;
  aspect-ratio: auto;
  border-radius: 28px;
  box-shadow: 0 28px 74px rgb(34 31 91 / 12%);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.post-card-image:hover img {
  transform: scale(1.025);
}

.post-card-image-placeholder {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 72% 25%, rgb(56 165 255 / 27%), transparent 31%), linear-gradient(145deg, #111126, #252057 62%, #235a9a);
}

.post-card-image-placeholder span {
  color: #fff;
  font-family: var(--hbox-font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #737489;
  font-size: 0.71rem;
  font-weight: 630;
}

.post-meta a {
  color: var(--hbox-indigo);
}

.post-card-copy h2,
.post-card-copy h3 {
  margin: 16px 0 0;
  font-family: var(--hbox-font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.18rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.post-card-featured .post-card-copy h2 {
  margin-top: 24px;
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  line-height: 1.01;
  letter-spacing: -0.058em;
}

.post-card-copy h2 a,
.post-card-copy h3 a {
  transition: color 180ms ease;
}

.post-card-copy h2 a:hover,
.post-card-copy h3 a:hover {
  color: var(--hbox-indigo);
}

.post-card-copy > p {
  margin: 16px 0 0;
  color: #626378;
  font-size: 0.9rem;
  line-height: 1.72;
}

.post-card-featured .post-card-copy > p {
  margin-top: 25px;
  font-size: 1rem;
  line-height: 1.76;
}

.post-card-copy .text-link {
  margin-top: 23px;
}

.latest-section {
  padding: 110px 0 125px;
  border-top: 1px solid var(--hbox-line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2,
.topic-section h2,
.related-section h2 {
  max-width: 780px;
  margin: 18px 0 0;
  font-family: var(--hbox-font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.7rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading > p {
  margin: 0 0 6px;
  color: #626378;
  line-height: 1.72;
}

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

.post-grid:empty {
  display: none;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  width: min(var(--hbox-container), calc(100% - 80px));
  margin: -58px auto 100px;
  padding-top: 25px;
  border-top: 1px solid var(--hbox-line);
  color: #68697c;
  font-size: 0.76rem;
}

.pagination a {
  width: fit-content;
  color: var(--hbox-ink);
  font-weight: 700;
}

.pagination a:last-child {
  justify-self: end;
}

.topic-section {
  padding: 118px 0 126px;
  border-top: 1px solid var(--hbox-line);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--hbox-line);
  border-bottom: 1px solid var(--hbox-line);
}

.topic-grid > a {
  position: relative;
  min-height: 330px;
  padding: 32px 30px 28px;
  transition: background 200ms ease;
}

.topic-grid > a + a {
  border-left: 1px solid var(--hbox-line);
}

.topic-grid > a:nth-child(3n + 1):not(:first-child) {
  border-left: 0;
}

.topic-grid > a:nth-child(n + 4) {
  border-top: 1px solid var(--hbox-line);
}

.topic-grid > a:hover {
  background: #f8f8ff;
}

.topic-grid > a > span {
  color: var(--hbox-indigo);
  font-family: var(--hbox-font-display);
  font-size: 0.7rem;
  font-weight: 750;
}

.topic-grid h3 {
  margin: 67px 0 0;
  font-family: var(--hbox-font-display);
  font-size: 1.72rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.topic-grid p {
  margin: 14px 0 0;
  color: #68697c;
  font-size: 0.86rem;
  line-height: 1.68;
}

.topic-grid small {
  position: absolute;
  right: 30px;
  bottom: 27px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  color: #7a7b8c;
  font-size: 0.71rem;
}

.empty-state,
.not-found {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 140px;
  text-align: center;
}

.empty-state h2,
.not-found h1 {
  margin: 22px 0 0;
  font-family: var(--hbox-font-display);
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  font-weight: 650;
  line-height: 0.99;
  letter-spacing: -0.063em;
}

.empty-state > p:not(.section-index),
.not-found > p:not(.section-index) {
  max-width: 580px;
  margin: 24px auto 0;
  color: var(--hbox-muted);
}

.empty-state .section-index,
.not-found .section-index {
  justify-content: center;
}

.empty-state .button-primary,
.not-found > div {
  margin-top: 34px;
}

.not-found {
  min-height: 76vh;
  padding-top: 190px;
}

.not-found > div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

/* CTA */
.blog-cta {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 80px));
  min-height: 500px;
  margin: 0 auto 120px;
  padding: 84px clamp(30px, 7vw, 92px);
  place-items: start;
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  background: #101127;
}

.blog-cta::after {
  position: absolute;
  top: -140px;
  right: -70px;
  width: 620px;
  height: 620px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 36%;
  background: radial-gradient(circle at 50% 50%, rgb(109 59 255 / 58%), transparent 66%);
  content: '';
  transform: rotate(24deg);
}

.blog-cta > div {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.blog-cta .section-index {
  color: #a8d5ff;
}

.blog-cta h2 {
  margin: 28px 0 0;
  font-family: var(--hbox-font-display);
  font-size: clamp(2.5rem, 5.2vw, 5.35rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.064em;
}

.blog-cta > div > p:not(.section-index) {
  max-width: 620px;
  margin: 25px 0 0;
  color: #c7c8d7;
  line-height: 1.72;
}

.blog-cta .button-light {
  margin-top: 34px;
}

/* Article */
.article-header {
  width: min(var(--hbox-container), calc(100% - 80px));
  margin: 0 auto;
  padding: 150px 0 64px;
}

.article-header .breadcrumbs {
  margin: 0;
  padding: 0;
  border: 0;
}

.article-heading {
  max-width: 1120px;
  margin: 62px auto 0;
  text-align: left;
}

.article-category {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #4c37bd;
  background: #efecff;
  font-size: 0.7rem;
  font-weight: 700;
}

.article-heading h1 {
  margin: 27px 0 0;
  font-family: var(--hbox-font-display);
  font-size: clamp(3.1rem, 6.25vw, 6.25rem);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.067em;
}

.article-heading > p {
  max-width: 820px;
  margin: 30px auto 0;
  color: var(--hbox-ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.75;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 18px;
  max-width: 850px;
  margin: 36px 0 0;
  text-align: left;
}

.author-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 20px rgb(79 70 229 / 16%);
}

.article-meta > span:not(.author-mark) {
  display: flex;
  flex-direction: column;
  color: #303145;
  font-size: 0.74rem;
}

.article-meta small {
  color: #7c7d8f;
  font-size: 0.65rem;
}

.article-meta > i {
  width: 1px;
  height: 32px;
  margin: 0 4px;
  background: var(--hbox-line);
}

.article-cover {
  width: min(1200px, calc(100% - 80px));
  aspect-ratio: 5 / 3;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  background: var(--hbox-paper);
  box-shadow: 0 32px 84px rgb(32 30 87 / 12%);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, var(--hbox-reading)) minmax(180px, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  width: min(var(--hbox-container), calc(100% - 80px));
  margin: 0 auto;
  padding: 98px 0 130px;
}

.article-toc,
.article-aside {
  position: sticky;
  top: 116px;
}

.article-toc {
  grid-column: 1;
}

.article-toc > p {
  margin: 0 0 18px;
  font-family: var(--hbox-font-display);
  font-size: 0.76rem;
  font-weight: 750;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hbox-line);
  list-style: none;
}

.article-toc li {
  border-bottom: 1px solid var(--hbox-line);
}

.article-toc a {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 7px;
  padding: 12px 2px;
  color: #67687b;
  font-size: 0.68rem;
  line-height: 1.42;
  transition: color 180ms ease;
}

.article-toc a:hover,
.article-toc a.is-active {
  color: var(--hbox-indigo);
}

.article-toc a span {
  color: #a0a1af;
  font-size: 0.61rem;
  font-weight: 700;
}

.article-content {
  grid-column: 2;
  min-width: 0;
  color: #3e3f52;
  font-size: 1.02rem;
  line-height: 1.86;
}

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

.article-content > p:first-child {
  margin-bottom: 68px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--hbox-line);
  color: var(--hbox-ink);
  font-family: var(--hbox-font-display);
  font-size: clamp(1.36rem, 2.15vw, 1.92rem);
  font-weight: 520;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  scroll-margin-top: 120px;
  color: var(--hbox-ink);
  font-family: var(--hbox-font-display);
}

.article-content h2 {
  margin: 68px 0 27px;
  padding-top: 68px;
  border-top: 1px solid var(--hbox-line);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.052em;
}

.article-content h2:first-child,
.article-content > p:first-child + h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-content h3 {
  margin: 43px 0 18px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.article-content h4 {
  margin: 34px 0 14px;
  font-size: 1.15rem;
}

.article-content p {
  margin: 0;
}

.article-content p + p {
  margin-top: 22px;
}

.article-content a {
  color: var(--hbox-indigo);
  font-weight: 630;
  text-decoration: underline;
  text-decoration-color: rgb(79 70 229 / 28%);
  text-underline-offset: 4px;
}

.article-content a:hover {
  text-decoration-color: currentColor;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 13px;
  margin: 30px 0;
  padding: 25px 28px 25px 50px;
  border-radius: 18px;
  background: #f7f7fc;
}

.article-content li {
  padding-left: 3px;
  color: #454659;
  font-size: 0.94rem;
  line-height: 1.67;
}

.article-content li::marker {
  color: var(--hbox-indigo);
  font-weight: 750;
}

.article-content blockquote {
  margin: 36px 0;
  padding: 28px 30px;
  border-left: 3px solid var(--hbox-violet);
  border-radius: 0 18px 18px 0;
  color: #2e2f45;
  background: linear-gradient(110deg, #f4f1ff, #f5f9ff);
  font-family: var(--hbox-font-display);
  font-size: 1.08rem;
  font-weight: 560;
  line-height: 1.58;
}

.article-content blockquote p {
  margin: 0;
}

.article-content img {
  height: auto;
  margin: 38px auto;
  border-radius: 20px;
}

.article-content figure {
  margin: 38px 0;
}

.article-content figcaption {
  margin-top: 10px;
  color: #77788c;
  font-size: 0.72rem;
  text-align: center;
}

.article-content table {
  width: 100%;
  margin: 38px 0;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.article-content th,
.article-content td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hbox-line);
  text-align: left;
}

.article-content th {
  color: var(--hbox-ink);
  font-family: var(--hbox-font-display);
}

.article-content pre {
  max-width: 100%;
  padding: 22px;
  overflow-x: auto;
  border-radius: 16px;
  color: #e8e9f3;
  background: #101127;
  font-size: 0.82rem;
  line-height: 1.7;
}

.article-aside {
  grid-column: 3;
  max-width: 205px;
  padding-top: 3px;
}

.aside-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.article-aside p {
  margin: 19px 0 0;
  color: #626378;
  font-size: 0.78rem;
  line-height: 1.66;
}

.article-aside a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 18px;
  color: var(--hbox-indigo);
  font-size: 0.71rem;
  font-weight: 720;
}

.related-section {
  padding: 108px 0 130px;
  border-top: 1px solid var(--hbox-line);
}

.related-section > header {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 50px;
}

.related-section h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

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

.related-grid .post-card-copy h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
}

.related-grid .post-card-copy > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Footer */
.site-footer {
  width: 100%;
  color: #d8d9e7;
  background: #0d0e20;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(290px, 0.76fr) minmax(550px, 1.24fr);
  gap: clamp(54px, 8vw, 130px);
  width: min(var(--hbox-container), calc(100% - 80px));
  margin: 0 auto;
  padding: 90px 0 76px;
}

.footer-positioning {
  max-width: 390px;
}

.footer-brand {
  background: #fff;
}

.footer-lead {
  margin: 30px 0 0;
  color: #fff;
  font-family: var(--hbox-font-display);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.footer-description {
  margin: 20px 0 0;
  color: #a9aabc;
  font-size: 0.86rem;
  line-height: 1.72;
}

.footer-contact {
  margin-top: 27px;
  border-color: rgb(255 255 255 / 28%);
  color: #fff;
}

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

.footer-navigation nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-navigation h2 {
  margin: 0 0 23px;
  color: #fff;
  font-family: var(--hbox-font-display);
  font-size: 0.77rem;
  font-weight: 720;
}

.footer-navigation a {
  padding: 5px 0;
  color: #a9aabc;
  font-size: 0.72rem;
  line-height: 1.42;
  transition: color 180ms ease;
}

.footer-navigation a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--hbox-container), calc(100% - 80px));
  margin: 0 auto;
  padding: 24px 0 32px;
  border-top: 1px solid rgb(255 255 255 / 11%);
  color: #7f8092;
  font-size: 0.68rem;
}

.footer-bottom p {
  margin: 0;
}

/* Motion added only after JavaScript is available. */
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 154px minmax(0, 1fr) 158px;
    width: calc(100% - 28px);
    padding-left: 15px;
  }

  .site-header .brand-crop {
    transform: scale(0.92);
    transform-origin: left center;
  }

  .desktop-nav > a,
  .audience-menu > summary {
    padding-inline: 10px;
  }

  .header-cta {
    min-width: 150px;
    padding-inline: 14px;
  }

  .article-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .article-aside {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 6px 7px 6px 13px;
    border-radius: 16px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header .brand-crop {
    transform: scale(0.9);
    transform-origin: left center;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu > summary {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 11px;
    cursor: pointer;
    background: var(--hbox-indigo);
    box-shadow: 0 9px 22px rgb(79 70 229 / 22%);
  }

  .mobile-menu > summary > span,
  .mobile-menu > summary > span::before,
  .mobile-menu > summary > span::after {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 9px;
    background: #fff;
    content: '';
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu > summary > span::before {
    transform: translateY(-6px);
  }

  .mobile-menu > summary > span::after {
    transform: translateY(6px);
  }

  .mobile-menu[open] > summary > span {
    background: transparent;
  }

  .mobile-menu[open] > summary > span::before {
    transform: rotate(45deg);
  }

  .mobile-menu[open] > summary > span::after {
    transform: rotate(-45deg);
  }

  .mobile-menu > nav {
    position: fixed;
    top: 84px;
    right: 12px;
    left: 12px;
    display: grid;
    max-height: calc(100svh - 100px);
    padding: 10px;
    overflow-y: auto;
    border-radius: 16px;
    background: rgb(255 255 255 / 99%);
    box-shadow: 0 28px 80px rgb(16 17 45 / 22%);
    backdrop-filter: blur(20px);
  }

  .mobile-menu > nav > a,
  .mobile-audiences > summary {
    display: flex;
    min-height: 53px;
    align-items: center;
    padding: 0 13px;
    border-bottom: 1px solid #ebecf2;
    color: #303145;
    font-family: var(--hbox-font-display);
    font-size: 0.92rem;
    font-weight: 650;
  }

  .mobile-audiences > summary {
    justify-content: space-between;
    cursor: pointer;
  }

  .mobile-audiences > summary span {
    color: #828395;
    transition: transform 180ms ease;
  }

  .mobile-audiences[open] > summary span {
    transform: rotate(180deg);
  }

  .mobile-audiences > div {
    padding: 5px 0 9px 18px;
    background: #f8f8fc;
  }

  .mobile-audiences > div a {
    display: block;
    padding: 10px 11px;
  }

  .mobile-audiences strong,
  .mobile-audiences small {
    display: block;
  }

  .mobile-audiences strong {
    color: #2f3044;
    font-family: var(--hbox-font-display);
    font-size: 0.76rem;
  }

  .mobile-audiences small {
    margin-top: 3px;
    color: #77788c;
    font-size: 0.64rem;
  }

  .mobile-menu > nav > .mobile-contact {
    min-height: 52px;
    justify-content: space-between;
    margin-top: 9px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--hbox-indigo);
    font-size: 0.78rem;
  }

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

  .post-card-featured .post-card-image {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .article-toc,
  .article-content,
  .article-aside {
    grid-column: 1;
  }

  .article-toc {
    position: static;
  }

  .article-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-toc li:nth-child(odd) {
    border-right: 1px solid var(--hbox-line);
  }

  .article-toc a {
    padding: 14px 12px;
  }

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

  .footer-positioning {
    max-width: 570px;
  }
}

@media (max-width: 760px) {
  .archive-hero,
  .featured-section,
  .latest-section,
  .topic-section,
  .article-header,
  .article-layout,
  .related-section,
  .footer-main,
  .footer-bottom {
    width: calc(100% - 40px);
  }

  .archive-hero {
    padding-top: 142px;
    padding-bottom: 54px;
  }

  .archive-hero-copy,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .archive-hero-copy .section-index {
    grid-column: 1;
    margin-bottom: 0;
  }

  .archive-hero h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .category-pills,
  .breadcrumbs {
    margin-top: 36px;
  }

  .featured-section {
    padding-bottom: 82px;
  }

  .post-card-featured .post-card-image,
  .post-card-image {
    border-radius: 20px;
  }

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

  .topic-grid > a + a,
  .topic-grid > a:nth-child(n + 4) {
    border-top: 1px solid var(--hbox-line);
    border-left: 0;
  }

  .pagination {
    width: calc(100% - 40px);
  }

  .blog-cta {
    width: calc(100% - 40px);
    min-height: 540px;
    margin-bottom: 80px;
    padding: 62px 25px;
    border-radius: 24px;
  }

  .article-header {
    padding-top: 132px;
  }

  .article-heading {
    margin-top: 46px;
    text-align: left;
  }

  .article-heading h1 {
    font-size: clamp(3rem, 13vw, 4.85rem);
  }

  .article-heading > p {
    margin-left: 0;
  }

  .article-meta {
    justify-content: flex-start;
  }

  .article-cover {
    width: calc(100% - 40px);
    border-radius: 21px;
  }

  .article-layout {
    padding-top: 68px;
    padding-bottom: 90px;
  }

  .related-section {
    padding-top: 80px;
    padding-bottom: 95px;
  }

  .related-section > header {
    align-items: flex-start;
  }

  .footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }
}

@media (max-width: 560px) {
  .breadcrumb-current {
    max-width: 160px;
  }

  .post-card-featured .post-card-copy h2 {
    font-size: 2.28rem;
  }

  .post-grid {
    gap: 50px;
  }

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

  .pagination > span {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .article-meta > i {
    display: none;
  }

  .article-meta > span:nth-last-child(-n + 2) {
    width: calc(50% - 12px);
    padding-top: 10px;
    border-top: 1px solid var(--hbox-line);
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }

  .article-toc li:nth-child(odd) {
    border-right: 0;
  }

  .article-content {
    font-size: 0.98rem;
  }

  .article-content > p:first-child {
    margin-bottom: 52px;
    padding-bottom: 34px;
  }

  .article-content h2 {
    margin-top: 54px;
    padding-top: 54px;
  }

  .related-section > header {
    display: grid;
  }

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

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-toc,
  .article-aside,
  .related-section,
  .blog-cta {
    display: none !important;
  }

  .article-header,
  .article-layout {
    width: 100%;
    padding: 24px 0;
  }

  .article-layout {
    display: block;
  }

  .article-heading {
    text-align: left;
  }

  .article-heading h1 {
    font-size: 42pt;
  }

  .article-content a {
    color: inherit;
  }
}

/* ==========================================================
   HBOX — DESIGN SYSTEM PARA CONTEÚDO DE BLOG
   Escopo: .blog-content no container do artigo
   ========================================================== */

.blog-content {
  --hbox-primary: #5b4df5;
  --hbox-primary-hover: #4739db;
  --hbox-primary-soft: #f1efff;
  --hbox-primary-soft-2: #f7f6ff;
  --hbox-text: #11111f;
  --hbox-text-secondary: #56576c;
  --hbox-text-muted: #77788c;
  --hbox-bg: #ffffff;
  --hbox-surface: #fafafe;
  --hbox-border: #e8e8f1;
  --hbox-border-strong: #d9d9e7;
  --hbox-radius-sm: 8px;
  --hbox-radius-md: 14px;
  --hbox-radius-lg: 20px;
  --hbox-shadow-soft:
    0 1px 2px rgba(20, 20, 40, 0.02),
    0 8px 30px rgba(25, 25, 60, 0.045);

  color: var(--hbox-text);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  text-align: left;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.blog-content p {
  margin: 0 0 1.4em;
  color: var(--hbox-text-secondary);
}

.blog-content p:last-child {
  margin-bottom: 0;
}

/* Neutraliza o destaque e a separação excessiva do primeiro parágrafo antigos. */
.blog-content > p:first-child {
  margin: 0 0 1.4em;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--hbox-text-secondary);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: normal;
}

.blog-content p:empty,
.blog-content br + br {
  display: none;
}

.blog-content strong,
.blog-content b {
  color: var(--hbox-text);
  font-weight: 700;
}

.blog-content em,
.blog-content i {
  color: inherit;
}

.blog-content small {
  font-size: 0.82em;
  color: var(--hbox-text-muted);
}

.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
  color: var(--hbox-text);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 700;
  scroll-margin-top: 120px;
}

.blog-content h2 {
  margin: 3.5rem 0 1.35rem;
  padding-top: 0;
  border-top: 0;
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.blog-content h3 {
  margin: 2.7rem 0 1rem;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
}

.blog-content h4 {
  margin: 2rem 0 0.8rem;
  font-size: 1.3rem;
}

.blog-content h5 {
  margin: 1.7rem 0 0.65rem;
  font-size: 1.1rem;
}

.blog-content h6 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.blog-content > h2:first-child,
.blog-content > h3:first-child {
  margin-top: 0;
}

.blog-content a {
  color: var(--hbox-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(91, 77, 245, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.blog-content a:hover {
  color: var(--hbox-primary-hover);
  text-decoration-color: currentColor;
}

.blog-content a:focus-visible {
  outline: 3px solid rgba(91, 77, 245, 0.22);
  outline-offset: 4px;
  border-radius: 4px;
}

.blog-content ul,
.blog-content ol {
  display: block;
  margin: 1.25rem 0 1.7rem;
  padding: 0 0 0 1.5rem;
  border-radius: 0;
  background: transparent;
  color: var(--hbox-text-secondary);
}

.blog-content li {
  padding-left: 0.35rem;
  margin-bottom: 0.65rem;
}

.blog-content li:last-child {
  margin-bottom: 0;
}

.blog-content li::marker {
  color: var(--hbox-primary);
  font-weight: 700;
}

.blog-content ul ul,
.blog-content ul ol,
.blog-content ol ul,
.blog-content ol ol {
  margin-top: 0.65rem;
  margin-bottom: 0.4rem;
}

.blog-content ol {
  counter-reset: hbox-list;
  list-style: none;
  padding-left: 0;
}

.blog-content ol > li {
  position: relative;
  padding-left: 2.7rem;
  counter-increment: hbox-list;
}

.blog-content ol > li::before {
  content: counter(hbox-list);
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, #236cff 0%, var(--hbox-primary) 100%);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.blog-content ol ol {
  counter-reset: none;
  list-style: decimal;
  padding-left: 1.5rem;
}

.blog-content ol ol > li {
  counter-increment: none;
  padding-left: 0.3rem;
}

.blog-content ol ol > li::before {
  display: none;
}

.blog-content input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 0.5rem 0 0;
  accent-color: var(--hbox-primary);
  vertical-align: -0.15em;
}

.blog-content table {
  width: 100%;
  margin: 2rem 0;
  border-spacing: 0;
  border-collapse: separate;
  border: 1px solid var(--hbox-border);
  border-radius: var(--hbox-radius-md);
  overflow: hidden;
  background: var(--hbox-bg);
  font-size: 0.94em;
  line-height: 1.55;
  box-shadow: var(--hbox-shadow-soft);
}

.blog-content thead {
  background: linear-gradient(135deg, rgba(91, 77, 245, 0.09), rgba(64, 142, 255, 0.06));
}

.blog-content th {
  color: var(--hbox-text);
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--hbox-border-strong);
}

.blog-content td {
  padding: 1rem 1.1rem;
  color: var(--hbox-text-secondary);
  vertical-align: top;
  border-bottom: 1px solid var(--hbox-border);
}

.blog-content tbody tr:last-child td {
  border-bottom: 0;
}

.blog-content tbody tr {
  transition: background-color 0.15s ease;
}

.blog-content tbody tr:hover {
  background: var(--hbox-primary-soft-2);
}

.blog-content td strong {
  color: var(--hbox-text);
}

.blog-content blockquote {
  position: relative;
  margin: 2.2rem 0;
  padding: 1.4rem 1.6rem 1.4rem 1.8rem;
  border: 1px solid rgba(91, 77, 245, 0.12);
  border-left: 4px solid var(--hbox-primary);
  border-radius: var(--hbox-radius-md) var(--hbox-radius-md) var(--hbox-radius-md) 4px;
  background: linear-gradient(135deg, rgba(91, 77, 245, 0.055), rgba(104, 180, 255, 0.025));
  color: var(--hbox-text);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.blog-content blockquote p {
  color: var(--hbox-text);
  font-size: 1.06em;
  line-height: 1.65;
  margin: 0;
}

.blog-content blockquote p + p {
  margin-top: 1rem;
}

.blog-content blockquote cite {
  display: block;
  margin-top: 1rem;
  color: var(--hbox-text-muted);
  font-size: 0.82em;
  font-style: normal;
}

.blog-content hr {
  width: 100%;
  height: 1px;
  margin: 3.5rem 0;
  border: 0;
  background: linear-gradient(90deg, transparent 0%, var(--hbox-border-strong) 18%, var(--hbox-border-strong) 82%, transparent 100%);
}

.blog-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2.5rem auto;
  border-radius: 18px;
  object-fit: contain;
}

.blog-content figure {
  width: 100%;
  margin: 2.5rem 0;
}

.blog-content figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 18px;
}

.blog-content figcaption {
  max-width: 90%;
  margin: 0.8rem auto 0;
  color: var(--hbox-text-muted);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.5;
}

.blog-content .blog-image-wide,
.blog-content figure.blog-image-wide {
  position: relative;
  width: min(1100px, calc(100vw - 40px));
  max-width: none;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
}

.blog-content figure.blog-image-wide img,
.blog-content figure.blog-infographic img,
.blog-content figure.blog-infographic--vertical img {
  width: 100%;
  margin: 0;
  object-fit: contain;
}

.blog-content .blog-infographic,
.blog-content figure.blog-infographic {
  position: relative;
  width: min(1000px, calc(100vw - 40px));
  max-width: none;
  height: auto;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  object-fit: contain;
}

.blog-content .blog-infographic--vertical,
.blog-content figure.blog-infographic--vertical {
  position: relative;
  width: min(820px, calc(100vw - 40px));
  max-width: none;
  height: auto;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  object-fit: contain;
}

.blog-content .blog-image-small {
  width: min(560px, 100%);
  height: auto;
  margin: 2.5rem auto;
  object-fit: contain;
}

.blog-content .blog-screenshot {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2.5rem auto;
  border: 1px solid var(--hbox-border, #e8e8f1);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(20, 20, 50, 0.06);
  object-fit: contain;
}

.blog-content .blog-image-card {
  width: 100%;
  height: auto;
  padding: 8px;
  border: 1px solid var(--hbox-border, #e8e8f1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(20, 20, 50, 0.045);
}

.blog-content .blog-image-raw {
  border-radius: 0;
  box-shadow: none;
}

.blog-content .blog-image-auto {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.blog-card img,
.blog-related-post img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

.blog-featured-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 3rem auto;
  border-radius: 24px;
  object-fit: cover;
}

.blog-content .blog-logo {
  width: auto;
  max-width: 240px;
  max-height: 100px;
  height: auto;
  margin: 2rem auto;
  border-radius: 0;
  object-fit: contain;
}

.blog-content .blog-image-grid,
.blog-content .blog-image-grid--3 {
  display: grid;
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.blog-content .blog-image-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-content .blog-image-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-content .blog-image-grid img,
.blog-content .blog-image-grid--3 img {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 16px;
}

.blog-content iframe,
.blog-content video {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  border: 0;
  border-radius: var(--hbox-radius-lg);
  box-shadow: var(--hbox-shadow-soft);
}

.blog-content iframe[src*="youtube"],
.blog-content iframe[src*="youtu.be"],
.blog-content iframe[src*="vimeo"] {
  aspect-ratio: 16 / 9;
  height: auto;
}

@media (max-width: 768px) {
  .blog-content .blog-image-wide,
  .blog-content figure.blog-image-wide,
  .blog-content .blog-infographic,
  .blog-content figure.blog-infographic,
  .blog-content .blog-infographic--vertical,
  .blog-content figure.blog-infographic--vertical {
    width: calc(100vw - 28px);
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
  }

  .blog-featured-image {
    width: calc(100% - 28px);
    margin: 2rem auto;
    border-radius: 18px;
  }

  .blog-content .blog-image-grid,
  .blog-content .blog-image-grid--3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-content .blog-image-small {
    width: 100%;
  }

  .blog-content .blog-logo {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .blog-content img {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .blog-content figure img,
  .blog-content .blog-image-grid img,
  .blog-content .blog-image-grid--3 img {
    margin: 0;
  }

  .blog-content .blog-image-wide,
  .blog-content figure.blog-image-wide,
  .blog-content .blog-infographic,
  .blog-content figure.blog-infographic,
  .blog-content .blog-infographic--vertical,
  .blog-content figure.blog-infographic--vertical {
    width: calc(100vw - 20px);
  }

  .blog-content figcaption {
    max-width: 100%;
    font-size: 0.78rem;
  }
}

.blog-content code {
  padding: 0.16em 0.4em;
  border: 1px solid var(--hbox-border);
  border-radius: 6px;
  background: var(--hbox-primary-soft-2);
  color: #3f34c5;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.86em;
}

.blog-content pre {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  overflow-x: auto;
  border-radius: var(--hbox-radius-md);
  background: #10101d;
  color: #f1f1f8;
  font-size: 0.86em;
  line-height: 1.65;
  box-shadow: var(--hbox-shadow-soft);
}

.blog-content pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.blog-content kbd {
  display: inline-block;
  padding: 0.16rem 0.45rem;
  border: 1px solid var(--hbox-border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  color: var(--hbox-text);
  font-size: 0.8em;
  font-family: inherit;
  font-weight: 600;
}

.blog-content mark {
  padding: 0.08em 0.24em;
  border-radius: 4px;
  color: var(--hbox-text);
  background: linear-gradient(transparent 30%, rgba(91, 77, 245, 0.16) 30%);
}

.blog-content details {
  margin: 1rem 0;
  border: 1px solid var(--hbox-border);
  border-radius: var(--hbox-radius-md);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(20, 20, 50, 0.025);
}

.blog-content summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  color: var(--hbox-text);
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.blog-content summary::-webkit-details-marker {
  display: none;
}

.blog-content summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  color: var(--hbox-primary);
  font-size: 1.5rem;
  font-weight: 400;
}

.blog-content details[open] summary::after {
  content: "−";
}

.blog-content details[open] summary {
  border-bottom: 1px solid var(--hbox-border);
}

.blog-content details > *:not(summary) {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.blog-content details > p:first-of-type {
  margin-top: 1rem;
}

.blog-content details > p:last-child {
  margin-bottom: 1.25rem;
}

.blog-content .blog-callout {
  margin: 2rem 0;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(91, 77, 245, 0.13);
  border-radius: var(--hbox-radius-md);
  background: linear-gradient(135deg, rgba(91, 77, 245, 0.065), rgba(75, 155, 255, 0.025));
}

.blog-content .blog-callout > :first-child {
  margin-top: 0;
}

.blog-content .blog-callout > :last-child {
  margin-bottom: 0;
}

.blog-content .blog-callout strong:first-child {
  color: var(--hbox-primary);
}

.blog-content .blog-callout--warning {
  border-color: rgba(222, 154, 34, 0.22);
  background: #fffaf0;
}

.blog-content .blog-callout--warning strong:first-child {
  color: #9a650c;
}

.blog-content .blog-callout--success {
  border-color: rgba(28, 153, 103, 0.18);
  background: #f2fbf7;
}

.blog-content .blog-callout--success strong:first-child {
  color: #137b54;
}

.blog-content .blog-cta {
  position: relative;
  margin: 3rem 0;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(91, 77, 245, 0.12);
  border-radius: var(--hbox-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(61, 127, 255, 0.14), transparent 38%),
    linear-gradient(135deg, #f7f6ff, #fcfcff);
}

.blog-content .blog-cta h3,
.blog-content .blog-cta h4 {
  margin-top: 0;
}

.blog-content .blog-cta p {
  max-width: 620px;
}

.blog-content .blog-cta a.blog-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 0.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #6256f6, #4e42e8);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(91, 77, 245, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-content .blog-cta a.blog-cta__button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(91, 77, 245, 0.26);
}

.blog-content dl {
  margin: 1.8rem 0;
}

.blog-content dt {
  margin-top: 1.2rem;
  color: var(--hbox-text);
  font-weight: 700;
}

.blog-content dd {
  margin: 0.35rem 0 0;
  color: var(--hbox-text-secondary);
}

.blog-content abbr[title] {
  text-decoration: underline dotted var(--hbox-primary);
  text-underline-offset: 3px;
  cursor: help;
}

.blog-content ::selection {
  color: var(--hbox-text);
  background: rgba(91, 77, 245, 0.18);
}

.blog-content q {
  color: var(--hbox-text);
  font-style: italic;
}

.blog-content q::before {
  content: "“";
}

.blog-content q::after {
  content: "”";
}

.blog-content cite {
  color: var(--hbox-text-muted);
  font-size: 0.9em;
  font-style: italic;
}

.blog-content sup,
.blog-content sub {
  position: relative;
  font-size: 0.72em;
  line-height: 0;
  vertical-align: baseline;
}

.blog-content sup {
  top: -0.5em;
}

.blog-content sub {
  bottom: -0.25em;
}

.blog-content del {
  color: var(--hbox-text-muted);
  text-decoration-thickness: 1px;
}

.blog-content ins {
  padding: 0.05em 0.18em;
  color: var(--hbox-text);
  background: rgba(91, 77, 245, 0.09);
  text-decoration: none;
  border-bottom: 2px solid rgba(91, 77, 245, 0.35);
}

.blog-content time {
  color: inherit;
}

.blog-content address {
  margin: 1.5rem 0;
  color: var(--hbox-text-secondary);
  font-style: normal;
  line-height: 1.65;
}

.blog-content samp,
.blog-content var {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
}

.blog-content var {
  color: var(--hbox-primary);
  font-style: normal;
}

.blog-content .footnotes {
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hbox-border);
  color: var(--hbox-text-muted);
  font-size: 0.88em;
}

.blog-content .footnotes ol {
  margin-bottom: 0;
}

.blog-content .footnotes li {
  margin-bottom: 0.7rem;
}

.blog-content .footnotes a {
  font-weight: 500;
}

.blog-content .footnote-ref {
  margin-left: 0.12em;
  color: var(--hbox-primary);
  font-size: 0.7em;
  font-weight: 700;
  text-decoration: none;
}

.blog-content .media-source {
  display: block;
  margin-top: -1.2rem;
  margin-bottom: 2rem;
  color: var(--hbox-text-muted);
  font-size: 0.78em;
  line-height: 1.5;
}

.blog-content .table-wrapper {
  width: 100%;
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: var(--hbox-radius-md);
  -webkit-overflow-scrolling: touch;
}

.blog-content .table-wrapper table {
  margin: 0;
}

.blog-content .blog-stat {
  margin: 2rem 0;
  padding: 1.6rem;
  border: 1px solid rgba(91, 77, 245, 0.12);
  border-radius: var(--hbox-radius-lg);
  background: linear-gradient(135deg, rgba(91, 77, 245, 0.07), rgba(64, 142, 255, 0.035));
}

.blog-content .blog-stat__value {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--hbox-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.05em;
}

.blog-content .blog-stat__label {
  color: var(--hbox-text-secondary);
  font-size: 0.95em;
}

.blog-content .blog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--hbox-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-content .blog-button:hover {
  color: #fff;
  background: var(--hbox-primary-hover);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .blog-content {
    font-size: 17px;
    line-height: 1.72;
  }

  .blog-content > p:first-child {
    margin-bottom: 1.4em;
    padding-bottom: 0;
  }

  .blog-content h2 {
    margin-top: 3rem;
    padding-top: 0;
  }

  .blog-content h3 {
    margin-top: 2.3rem;
  }

  .blog-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .blog-content th,
  .blog-content td {
    padding: 0.85rem 1rem;
  }

  .blog-content blockquote {
    padding: 1.2rem 1.2rem 1.2rem 1.4rem;
  }

  .blog-content img,
  .blog-content iframe,
  .blog-content video {
    border-radius: var(--hbox-radius-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-content *,
  .blog-content *::before,
  .blog-content *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
