/*
 * SignalCrumbs Blog UI
 * Standalone, dependency-free stylesheet.
 * Brand tokens are grouped at the top so the design can be aligned with the main site quickly.
 */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --sc-teal: #24bbbd;
  --sc-teal-dark: #159b9d;
  --sc-teal-soft: #eaf9f9;
  --sc-yellow: #e7ce21;
  --sc-yellow-soft: #fff9d9;
  --sc-green-soft: #dcffd9;
  --sc-red-soft: #ffd9d9;
  --sc-navy: #17365d;
  --sc-navy-2: #102a4b;
  --sc-text: #404a60;
  --sc-muted: #7c8ba0;
  --sc-line: #e5ebf2;
  --sc-surface: #ffffff;
  --sc-surface-2: #f7f9fc;
  --sc-danger: #e86155;
  --sc-shadow-sm: 0 10px 30px rgba(23, 54, 93, 0.08);
  --sc-shadow-md: 0 18px 50px rgba(23, 54, 93, 0.12);
  --sc-shadow-lg: 0 28px 80px rgba(23, 54, 93, 0.15);
  --sc-radius-sm: 12px;
  --sc-radius-md: 20px;
  --sc-radius-lg: 30px;
  --sc-header-height: 82px;
  --sc-ease: cubic-bezier(.22, 1, .36, 1);
}

a{display:inline-block;}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  color: #fff;
  background: var(--sc-teal-dark);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

.section--soft {
  background: var(--sc-surface-2);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 690px;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 470px;
  margin-bottom: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sc-teal-dark);
  font-size: .92rem;
  font-weight: 800;
  transition: color .2s ease, gap .25s var(--sc-ease);
}

.text-link:hover {
  gap: 14px;
  color: var(--sc-teal-dark);
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  color: #fff;
  background: var(--sc-teal);
  box-shadow: 0 13px 28px rgba(36, 187, 189, .25);
}

.btn--primary:hover {
  background: var(--sc-teal-dark);
  box-shadow: 0 17px 36px rgba(36, 187, 189, .32);
}

.btn--dark {
  color: #fff;
  background: var(--sc-teal-dark);
  box-shadow: 0 13px 28px rgba(23, 54, 93, .2);
}

.btn--dark:hover {
  background: var(--sc-navy-2);
}

.btn--outline {
  color: var(--sc-teal-dark);
  background: rgba(255, 255, 255, .8);
  border-color: var(--sc-line);
}

.btn--outline:hover {
  border-color: rgba(36, 187, 189, .5);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--sc-header-height);
  background: rgba(255, 255, 255, .87);
  border-bottom: 1px solid rgba(229, 235, 242, .82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: var(--sc-header-height);
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--sc-teal-dark);
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: -.045em;
}

.brand img {
  width: 100%;
  height: auto;
}

.brand span span {
  color: var(--sc-teal-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 28px 0;
  color: var(--sc-teal-dark);
  font-size: .88rem;
  font-weight: 700;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 3px;
  background: var(--sc-teal);
  border-radius: 99px;
  content: "";
  transform: scaleX(0);
  transition: transform .25s var(--sc-ease);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  min-height: 42px;
  padding: 10px 17px;
  font-size: .78rem;
}

.language-switcher {
  position: relative;
}

.language-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--sc-teal-dark);
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 50%;
  cursor: pointer;
}

.language-button svg {
  width: 18px;
  height: 18px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--sc-teal-dark);
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 50%;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-toggle span {
  margin: 4px 0;
}

.mobile-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

/* Blog hero */
.blog-hero {
  min-height: 835px;
  position: relative;
  overflow: hidden;
  padding: 175px 0px 100px 75px;
  background:
    radial-gradient(circle at 88% 16%, rgba(231, 206, 33, .23), transparent 22%),
    radial-gradient(circle at 4% 78%, rgba(36, 187, 189, .16), transparent 24%),
    linear-gradient(180deg, #fbfdfd 0%, #fff 100%);
}

.blog-hero::before,
.blog-hero::after {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px dashed rgba(23, 54, 93, .08);
  border-radius: 50%;
  content: "";
}

.blog-hero::before {
  top: -73px;
  right: 18%;
}

.blog-hero::after {
  bottom: -97px;
  left: 10%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .74fr);
  gap: 68px;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero-copy h1 em {
  position: relative;
  color: var(--sc-teal-dark);
  font-style: normal;
  white-space: nowrap;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 0;
  bottom: -.08em;
  left: 0;
  height: 12px;
  background: var(--sc-yellow);
  border-radius: 50%;
  clip-path: polygon(0 42%, 100% 0, 96% 100%, 4% 78%);
  content: "";
  opacity: .8;
  z-index: -1;
}

.hero-copy > p {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: 1.08rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #404A60;
  font-size: .84rem;
  font-weight: 750;
}

.hero-stat i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--sc-teal-dark);
  background: var(--sc-teal-soft);
  border-radius: 50%;
  font-style: normal;
}

.hero-feature {
  position: relative;
}

.hero-feature::before {
  position: absolute;
  top: -22px;
  right: -23px;
  width: 100%;
  height: 100%;
  background: var(--sc-yellow);
  border-radius: 38px;
  content: "";
  opacity: .45;
  transform: rotate(4deg);
}

.hero-feature-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 32px;
  box-shadow: var(--sc-shadow-lg);
}

.hero-feature-card .card-media {
  aspect-ratio: 16 / 9;
  background: var(--sc-teal-soft);
}

.hero-feature-card .card-body {
  padding: 25px 27px 27px;
}

.hero-feature-card h2 {
  margin-bottom: 13px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

/* Search / filters */
.blog-tools-wrap {
  position: relative;
  z-index: 4;
  margin-top: -45px;
}

.blog-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--sc-line);
  border-radius: 22px;
  box-shadow: var(--sc-shadow-md);
}

.search-box {
  position: relative;
  flex: 1 1 360px;
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 19px;
  height: 19px;
  color: var(--sc-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px 12px 48px;
  color: var(--sc-teal-dark);
  background: var(--sc-surface-2);
  border: 1px solid transparent;
  border-radius: 15px;
  outline: none;
  transition: border .2s ease, background .2s ease, box-shadow .2s ease;
}

.search-box input:focus {
  background: #fff;
  border-color: rgba(36, 187, 189, .48);
  box-shadow: 0 0 0 4px rgba(36, 187, 189, .1);
}

.category-filters {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--sc-teal-dark);
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  background: var(--sc-teal-dark);
  border-color: var(--sc-teal-dark);
}

.results-status {
  margin: 27px 0 0;
  color: var(--sc-muted);
  font-size: .86rem;
}

/* Cards */
.card-media {
  position: relative;
  overflow: hidden;
}

.card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--sc-ease);
}

.article-card:hover .card-media > img,
.feature-card:hover .card-media > img {
  transform: scale(1.04);
}

.card-category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  color: var(--sc-teal-dark);
  background: var(--sc-teal-soft);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.card-category--yellow {
  color: #665700;
  background: var(--sc-yellow-soft);
}

.card-category--green {
  color: #026600;
  background: var(--sc-green-soft);
}

.card-category--red {
  color: #660000;
  background: var(--sc-red-soft);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 12px;
  color: var(--sc-muted);
  font-size: .74rem;
  font-weight: 650;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-meta svg {
  width: 14px;
  height: 14px;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.38fr .82fr;
  gap: 24px;
}

.feature-card {
  display: grid;
  overflow: hidden;
  color: var(--sc-text);
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius-lg);
  box-shadow: var(--sc-shadow-sm);
  transition: transform .3s var(--sc-ease), box-shadow .3s ease;
}

.feature-card:hover {
  box-shadow: var(--sc-shadow-md);
  transform: translateY(-4px);
}

.feature-card--large {
  grid-template-rows: minmax(310px, 1fr) auto;
}

.feature-card--large .card-media {
  min-height: 355px;
}

.feature-card--large .card-body {
  padding: 30px 32px 33px;
}

.feature-card--large h3 {
  max-width: 760px;
  margin: 13px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.feature-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.feature-card--side {
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 210px;
}

.feature-card--side .card-media {
  min-height: 100%;
}

.feature-card--side .card-body {
  align-self: center;
  padding: 25px 23px;
}

.feature-card--side h3 {
  margin: 12px 0 14px;
  font-size: 1.18rem;
}

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

.article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(23, 54, 93, .055);
  transition: transform .3s var(--sc-ease), box-shadow .3s ease, border-color .3s ease;
}

.article-card:hover {
  border-color: rgba(36, 187, 189, .3);
  box-shadow: var(--sc-shadow-md);
  transform: translateY(-6px);
}

.article-card[hidden] {
  display: none;
}

.article-card .card-media {
  aspect-ratio: 16 / 9;
}

.article-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 25px;
}

.article-card h3 {
  margin: 13px 0 11px;
  font-size: 1.26rem;
}

.article-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card .text-link {
  margin-top: auto;
}

.empty-state {
  display: none;
  padding: 60px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed #cfd8e3;
  border-radius: var(--sc-radius-md);
}

.empty-state.is-visible {
  display: block;
}

.empty-state-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--sc-teal-dark);
  background: var(--sc-teal-soft);
  border-radius: 50%;
}

.empty-state-icon svg {
  width: 27px;
  height: 27px;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Newsletter CTA */
.newsletter {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .78);
  background: var(--sc-teal-dark);
  border-radius: 36px;
  box-shadow: var(--sc-shadow-lg);
}

.newsletter::before {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 460px;
  height: 460px;
  background: var(--sc-teal);
  border-radius: 50%;
  content: "";
  opacity: .15;
}

.newsletter::after {
  position: absolute;
  bottom: -155px;
  left: 38%;
  width: 300px;
  height: 300px;
  background: var(--sc-yellow);
  border-radius: 50%;
  content: "";
  opacity: .1;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr minmax(380px, .75fr);
  gap: 70px;
  padding: 64px 70px;
}

.newsletter h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.newsletter .eyebrow {
  color: var(--sc-yellow);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  padding: 7px;
  background: #fff;
  border-radius: 999px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 17px;
  color: var(--sc-teal-dark);
  background: transparent;
  border: 0;
  outline: none;
}

.newsletter-form .btn {
  flex: 0 0 auto;
}

.form-note {
  margin: 12px 8px 0;
  color: rgba(255, 255, 255, .55);
  font-size: .72rem;
}

.form-message {
  display: none;
  margin: 14px 8px 0;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}

.form-message.is-visible {
  display: block;
}

/* Article detail hero */
.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2000;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--sc-teal), var(--sc-yellow));
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 52px;
  background:
    radial-gradient(circle at 87% 12%, rgba(231, 206, 33, .2), transparent 24%),
    radial-gradient(circle at 8% 88%, rgba(36, 187, 189, .13), transparent 25%),
    var(--sc-surface-2);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
  color: var(--sc-muted);
  font-size: .78rem;
  font-weight: 700;
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
}

.breadcrumbs a:hover {
  color: var(--sc-teal-dark);
}

.article-hero-inner {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}

.article-hero .card-category {
  margin-bottom: 22px;
}

.article-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 6vw, 4.65rem);
}

.article-lead {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px 20px;
  color: var(--sc-muted);
  font-size: .8rem;
  font-weight: 650;
}

.author-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sc-teal-dark);
  font-weight: 800;
}

.author-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sc-teal), var(--sc-navy));
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(23, 54, 93, .15);
  font-size: .73rem;
}

.article-byline > span:not(.author-mini) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-byline svg {
  width: 15px;
  height: 15px;
}

.article-cover-wrap {
  margin-top: 48px;
}

.article-cover {
  overflow: hidden;
  aspect-ratio: 16 / 8.6;
  background: var(--sc-teal-soft);
  border: 8px solid #fff;
  border-radius: 35px;
  box-shadow: var(--sc-shadow-lg);
}

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

.article-main {
  padding: 76px 0 100px;
}

.article-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 230px minmax(0, 750px) 62px;
  justify-content: center;
  gap: 48px;
}

.article-toc {
  position: sticky;
  top: 135px;
}

.article-toc-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--sc-teal-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-toc-title svg {
  width: 17px;
  height: 17px;
  color: var(--sc-teal-dark);
}

.toc-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--sc-line);
}

.toc-list a {
  display: block;
  margin-left: -1px;
  padding: 8px 0 8px 17px;
  color: var(--sc-muted);
  border-left: 2px solid transparent;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.42;
  transition: color .2s ease, border-color .2s ease;
}

.toc-list a:hover,
.toc-list a.is-active {
  color: var(--sc-teal-dark);
  border-color: var(--sc-teal);
}

.article-content {
  min-width: 0;
  color: #404a60;
  font-size: 1.04rem;
}

.article-content > p:first-of-type::first-letter {
  float: left;
  margin: .04em .12em 0 0;
  color: var(--sc-teal-dark);
  font-size: 1.33rem; /* 4.6rem; */
  font-weight: 900;
  line-height: .8;
}

.article-content h2 {
  padding: 50px 0 20px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.article-content h3 {
  padding: 36px 0 14px;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin-bottom: 23px;
}

.article-content ul {
  display: block;
  list-style-type: disc;
}

.article-content ul,
.article-content ol {
  padding-left: 0px !important;
  padding-inline-start: 0px !important;
}

.article-content li {
  margin-bottom: 5px;
}

.article-content li::marker {
  color: var(--sc-teal-dark);
  font-weight: 900;
  font-size: 21px;
  margin-right: 0px !important;
}

.article-content strong {
  color: var(--sc-teal-dark);
}

.article-content a:not(.btn) {
  color: var(--sc-teal-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(36, 187, 189, .32);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-content blockquote {
  position: relative;
  margin: 38px 0;
  padding: 31px 34px 30px 70px;
  color: var(--sc-teal-dark);
  background: var(--sc-yellow-soft);
  border: 0;
  border-radius: 21px;
  font-size: 1.15rem;
  font-weight: 750;
}

.article-content blockquote::before {
  position: absolute;
  top: 19px;
  left: 23px;
  color: var(--sc-yellow);
  content: "“";
  font-family: Georgia, serif;
  font-size: 4.6rem;
  line-height: 1;
}

.info-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: 100%;
  margin: 34px 0;
  padding: 23px 24px;
  background: var(--sc-teal-soft);
  border: 1px solid rgba(36, 187, 189, .18);
  border-radius: 18px;
}

.info-box ol, .info-box ul {
  margin-bottom: 0px;
}

.info-box--warning {
  background: #fff8eb;
  border-color: rgba(231, 159, 33, .22);
}

.info-box-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #fff;
  background: var(--sc-teal);
  border-radius: 11px;
}

.info-box--warning .info-box-icon {
  background: #e9a725;
}

.info-box-icon svg {
  width: 20px;
  height: 20px;
}

.info-box h3 {
  margin: 1px 0 5px;
  font-size: 1rem;
  letter-spacing: -.02em;
}

.info-box p {
  margin: 0;
  font-size: .9rem;
}

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

.article-figure img {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--sc-line);
  border-radius: 22px;
  box-shadow: var(--sc-shadow-sm);
}

.article-figure figcaption {
  margin-top: 11px;
  color: var(--sc-muted);
  font-size: .75rem;
  text-align: center;
}

.data-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0;
}

.data-stat {
  padding: 20px 18px;
  background: var(--sc-surface-2);
  border: 1px solid var(--sc-line);
  border-radius: 16px;
  text-align: center;
}

.data-stat strong {
  display: block;
  margin-bottom: 2px;
  color: var(--sc-teal-dark);
  font-size: 1.5rem;
}

.data-stat span {
  color: var(--sc-muted);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.inline-cta {
  position: relative;
  overflow: hidden;
  margin: 48px 0;
  padding: 32px 34px;
  color: rgba(255, 255, 255, .76);
  background: var(--sc-teal-dark);
  border-radius: 23px;
}

.inline-cta::after {
  position: absolute;
  top: -45px;
  right: -42px;
  width: 170px;
  height: 170px;
  background: var(--sc-yellow);
  border-radius: 50%;
  content: "";
  opacity: .14;
}

.inline-cta h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 9px;
  color: #fff;
  font-size: 1.42rem;
}

.inline-cta p {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  font-size: .92rem;
}

.inline-cta .btn {
  position: relative;
  z-index: 1;
  min-height: 45px;
  color: var(--sc-teal-dark);
  background: var(--sc-yellow);
}

.article-share {
  position: sticky;
  top: 135px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.article-share-label {
  margin-bottom: 3px;
  color: var(--sc-muted);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.share-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--sc-teal-dark);
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.share-button:hover {
  color: #fff;
  background: var(--sc-teal);
  border-color: var(--sc-teal);
  transform: translateY(-2px);
}

.share-button svg {
  width: 17px;
  height: 17px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0 32px;
  padding-top: 30px;
  border-top: 1px solid var(--sc-line);
}

.article-tag {
  padding: 6px 11px;
  color: var(--sc-teal-dark);
  background: var(--sc-surface-2);
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 750;
}

.author-box {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 23px;
  padding: 27px;
  background: var(--sc-surface-2);
  border: 1px solid var(--sc-line);
  border-radius: 22px;
}

.author-box-avatar {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sc-teal), var(--sc-navy));
  border-radius: 24px;
  font-size: 1.3rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

.author-box h3 {
  margin-bottom: 4px;
}

.author-box p {
  margin-bottom: 0;
  font-size: .86rem;
}

.disclaimer {
  margin-top: 32px;
  padding: 19px 21px;
  color: var(--sc-muted);
  background: #fbfcfd;
  border: 1px solid var(--sc-line);
  border-radius: 15px;
  font-size: .73rem;
  line-height: 1.55;
}

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

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, .62);
  background: var(--sc-navy-2);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, .7fr);
  gap: 60px;
  padding: 74px 0 54px;
}

.footer-brand .brand {
  margin-bottom: 19px;
  color: #fff;
}

.footer-brand p {
  max-width: 370px;
  font-size: .83rem;
}

.socials {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.social-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}

.social-link:hover {
  background: var(--sc-teal);
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col h3 {
  margin-bottom: 20px;
  color: #fff;
  font-size: .86rem;
  letter-spacing: .02em;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: .8rem;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--sc-yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .7rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: #fff;
  background: var(--sc-teal-dark);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--sc-shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--sc-teal-dark);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.mobile-only {
  display: none;
}

/* Responsive */
@media (max-width: 1080px) {
  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 32px;
  }

  h4 {
    font-size: 22px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: .82rem;
  }

  .header-actions .btn--outline {
    display: none;
  }

  .feature-card--side {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .article-layout {
    grid-template-columns: 200px minmax(0, 700px);
    gap: 40px;
  }

  .article-share {
    position: static;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    margin-bottom: -25px;
  }

  .article-share-label {
    display: none;
  }

  .article-content {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  :root {
    --sc-header-height: 72px;
  }

  .main-nav,
  .header-actions .btn,
  .language-switcher {
    display: none;
  }

  .mobile-toggle {
    display: grid;
    margin-left: auto;
  }

  .mobile-panel {
    position: fixed;
    top: var(--sc-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 950;
    display: block;
    padding: 18px 16px 32px;
    background: rgba(16, 42, 75, .38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .mobile-panel[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-panel-inner {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 22px;
    box-shadow: var(--sc-shadow-lg);
    transform: translateY(-14px);
    transition: transform .25s var(--sc-ease);
  }

  .mobile-panel[aria-hidden="false"] .mobile-panel-inner {
    transform: translateY(0);
  }

  .mobile-nav {
    display: grid;
    gap: 2px;
  }

  .mobile-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 9px 13px;
    color: var(--sc-teal-dark);
    border-radius: 12px;
    font-weight: 750;
  }

  .mobile-nav a:hover,
  .mobile-nav a[aria-current="page"] {
    background: var(--sc-teal-soft);
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--sc-line);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-feature {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .blog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    flex-basis: auto;
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .feature-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .feature-card--side {
    grid-template-columns: 1fr;
  }

  .feature-card--side .card-media {
    min-height: 190px;
  }

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

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 45px;
  }

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

  .article-toc {
    position: static;
    padding: 19px 20px;
    background: var(--sc-surface-2);
    border: 1px solid var(--sc-line);
    border-radius: 17px;
  }

  .toc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
  }

  .toc-list a {
    margin-left: 0;
    padding: 7px 10px;
    border-left: 0;
    border-radius: 8px;
  }

  .toc-list a.is-active {
    background: var(--sc-teal-soft);
  }

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

  .article-share {
    justify-content: flex-start;
    margin-bottom: -20px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .blog-hero {
    padding: 58px 0 64px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .hero-copy h1 em {
    white-space: normal;
  }

  .hero-stats {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-feature::before {
    top: -11px;
    right: -9px;
  }

  .hero-feature-card,
  .newsletter,
  .article-cover {
    border-radius: 24px;
  }

  .blog-tools-wrap {
    margin-top: -24px;
  }

  .blog-tools {
    padding: 12px;
    border-radius: 18px;
  }

  .feature-card--large .card-media {
    min-height: 230px;
  }

  .feature-card--large .card-body {
    padding: 24px;
  }

  .feature-side,
  .article-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--side {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .feature-card--side .card-media {
    min-height: 100%;
  }

  .feature-card--side .card-body {
    padding: 20px 17px;
  }

  .feature-card--side h3 {
    font-size: 1.03rem;
  }

  .newsletter-inner {
    padding: 42px 23px;
  }

  .newsletter-form {
    align-items: stretch;
    flex-direction: column;
    padding: 8px;
    border-radius: 18px;
  }

  .newsletter-form input {
    min-height: 48px;
  }

  .article-hero {
    padding: 55px 0 34px;
  }

  .article-hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.35rem);
  }

  .article-cover-wrap {
    margin-top: 34px;
  }

  .article-cover {
    border-width: 5px;
  }

  .article-main {
    padding: 56px 0 72px;
  }

  .article-layout {
    gap: 28px;
  }

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

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

  .article-content blockquote {
    padding: 60px 24px 26px;
  }

  .article-content blockquote::before {
    top: 12px;
  }

  .data-panel {
    grid-template-columns: 1fr;
  }

  .info-box {
    grid-template-columns: 1fr;
  }

  .author-box {
    justify-items: start;
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    padding-top: 56px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .back-to-top {
    right: 15px;
    bottom: 15px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 1.05rem;
  }

  .feature-card--side {
    grid-template-columns: 1fr;
  }

  .feature-card--side .card-media {
    min-height: 185px;
  }

  .mobile-actions {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
