:root {
  --brand: #246bfd;
  --brand-deep: #1554d1;
  --brand-soft: #edf4ff;
  --ai: #7957f6;
  --safe: #19b987;
  --ink: #101b34;
  --muted: #607089;
  --line: #dce5f1;
  --paper: #f7f8f7;
  --cloud: #f1f4f8;
  --navy: #07152f;
  --shadow: 0 22px 60px rgb(18 47 94 / 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui,
    -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

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

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

button,
input,
select,
textarea,
a {
  outline-offset: 3px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(36 107 253 / 0.3);
}

[hidden] {
  display: none !important;
}

.blog-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.blog-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(220 229 241 / 0.76);
  background: rgb(247 248 247 / 0.92);
  backdrop-filter: blur(18px);
  transition:
    padding 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.blog-header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition:
    min-height 220ms ease,
    padding 220ms ease,
    border-color 220ms ease,
    border-radius 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.blog-header.is-scrolled {
  padding-top: 10px;
  border-bottom-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

.blog-header.is-scrolled .blog-header-inner {
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid rgb(220 229 241 / 0.88);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 18px 48px rgb(18 47 94 / 0.15);
  backdrop-filter: blur(20px);
}

.blog-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.blog-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.blog-brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.blog-brand-name strong {
  color: var(--brand);
  font: inherit;
}

.blog-nav,
.blog-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.blog-nav {
  color: #33435e;
  font-size: 14px;
}

.blog-nav a:hover {
  color: var(--brand);
}

.blog-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 720;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.blog-button:hover {
  transform: translateY(-2px);
}

.blog-button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 28px rgb(36 107 253 / 0.24);
}

.blog-button-primary:hover {
  background: var(--brand-deep);
}

.blog-button-secondary {
  border-color: #bac8db;
  background: white;
}

.blog-hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 82% 20%, rgb(121 87 246 / 0.16), transparent 25%),
    radial-gradient(circle at 15% 82%, rgb(36 107 253 / 0.13), transparent 26%),
    white;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.blog-hero h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(44px, 5.25vw, 72px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.blog-hero h1 span {
  white-space: nowrap;
}

.blog-hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.blog-categories {
  display: flex;
  margin-top: 34px;
  gap: 9px;
  flex-wrap: wrap;
}

.blog-categories span,
.article-tags span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
  color: #4f6079;
  font-size: 12px;
}

.blog-content {
  padding: 72px 0 100px;
}

.blog-layout {
  display: grid;
  align-items: start;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.featured-article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.featured-visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8.4;
  background: var(--navy);
}

.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.featured-article:hover .featured-visual img {
  transform: scale(1.025);
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 999px;
  background: rgb(7 21 47 / 0.78);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.featured-copy {
  padding: 34px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.article-meta span:not(:last-child)::after {
  margin-left: 10px;
  color: #b1bdcd;
  content: "·";
}

.featured-copy h2 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.featured-copy > p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.read-link {
  display: inline-flex;
  margin-top: 24px;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 750;
}

.article-list-heading {
  display: flex;
  margin: 66px 0 24px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.article-list-heading h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.search-status {
  color: var(--muted);
  font-size: 13px;
}

.article-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.article-card {
  display: flex;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  flex-direction: column;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.article-card:hover {
  border-color: #b8c9e2;
  box-shadow: 0 18px 48px rgb(18 47 94 / 0.09);
  transform: translateY(-3px);
}

.article-card h3 {
  margin: 50px 0 14px;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.article-card .read-link {
  margin-top: auto;
  padding-top: 22px;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 36px rgb(18 47 94 / 0.07);
}

.sidebar-title {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 18px;
}

.sidebar-title span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.recommended-list {
  display: grid;
}

.recommended-item {
  display: grid;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 72px 1fr;
}

.recommended-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.recommended-item:last-child {
  padding-bottom: 0;
}

.recommended-item img {
  width: 72px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
}

.recommended-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.recommended-item small {
  color: var(--muted);
  font-size: 11px;
}

.blog-search {
  display: grid;
  gap: 11px;
}

.blog-search label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search-field {
  position: relative;
}

.blog-search input {
  width: 100%;
  height: 50px;
  padding: 0 52px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.blog-search input:focus {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 4px rgb(36 107 253 / 0.09);
}

.search-button {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  transition:
    color 160ms ease,
    background 160ms ease;
}

.search-button:hover,
.search-button:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.search-button span {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-button span::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.sidebar-cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgb(121 87 246 / 0.2), transparent 40%),
    var(--navy);
  color: white;
}

.sidebar-cta p {
  color: #aebbd0;
  font-size: 14px;
}

.sidebar-cta .blog-button {
  width: 100%;
  margin-top: 12px;
}

.empty-state {
  display: none;
  padding: 42px;
  border: 1px dashed #b9c8dc;
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.blog-footer {
  padding: 64px 0 26px;
  background: #061127;
  color: #9cacbf;
}

.blog-footer-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1.6fr 1fr 1fr;
}

.blog-footer h2,
.blog-footer h3 {
  margin-top: 0;
  color: white;
}

.blog-footer h2 {
  font-size: 20px;
}

.blog-footer h3 {
  font-size: 14px;
}

.blog-footer p {
  max-width: 480px;
}

.blog-footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.blog-footer-links a:hover {
  color: white;
}

.blog-footer-bottom {
  display: flex;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

/* Article */

.article-hero {
  padding: 82px 0 58px;
  background:
    radial-gradient(circle at 88% 10%, rgb(121 87 246 / 0.13), transparent 26%),
    white;
}

.article-hero-inner {
  max-width: 920px;
}

.breadcrumb {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.article-hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.article-deck {
  max-width: 820px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.85;
}

.article-tags {
  display: flex;
  margin-top: 24px;
  gap: 9px;
  flex-wrap: wrap;
}

.article-cover {
  width: min(1180px, calc(100% - 48px));
  overflow: hidden;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

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

.article-body-section {
  padding: 72px 0 110px;
}

.article-layout {
  display: grid;
  align-items: start;
  gap: 54px;
  grid-template-columns: 286px minmax(0, 760px);
  justify-content: center;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.article-toc {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li {
  position: relative;
  padding-left: 16px;
}

.article-toc li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--safe);
  content: "";
}

.article-toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.article-toc a:hover {
  color: var(--brand);
}

.article-content {
  min-width: 0;
}

.article-content a {
  color: var(--brand);
  font-weight: 720;
}

.article-content a:hover {
  color: var(--brand-deep);
}

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

.article-content h2 {
  margin: 64px 0 18px;
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.article-content h3 {
  margin: 38px 0 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.article-content p,
.article-content li {
  color: #43536d;
  font-size: 17px;
  line-height: 1.95;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content li {
  margin: 8px 0;
}

.article-summary {
  margin: 32px 0 44px;
  padding: 26px;
  border: 1px solid #cfe0fb;
  border-radius: 18px;
  background: var(--brand-soft);
}

.article-summary strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-deep);
}

.article-summary p {
  margin: 0;
}

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

.article-figure img {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--navy);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.article-quote {
  margin: 38px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--brand);
  background: var(--cloud);
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
}

.article-checks {
  display: grid;
  margin: 30px 0;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.article-checks div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.article-checks span {
  display: block;
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.article-checks strong {
  display: block;
  margin-bottom: 6px;
}

.article-checks p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.article-table-wrapper {
  overflow-x: auto;
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 38px rgb(18 47 94 / 0.06);
}

.article-table-wrapper table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.article-table-wrapper th,
.article-table-wrapper td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table-wrapper th {
  background: #f3f7ff;
  color: #1b2b46;
  font-size: 13px;
  font-weight: 800;
}

.article-table-wrapper td {
  color: #43536d;
  font-size: 14px;
  line-height: 1.75;
}

.article-table-wrapper tr:last-child td {
  border-bottom: 0;
}

.article-steps {
  counter-reset: modernization-step;
  display: grid;
  gap: 14px;
  padding-left: 0 !important;
  list-style: none;
}

.article-steps li {
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.article-steps li::before {
  position: absolute;
  top: 21px;
  left: 20px;
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  content: counter(modernization-step);
  counter-increment: modernization-step;
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.article-highlight-grid {
  display: grid;
  margin: 30px 0;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.article-highlight-grid section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgb(36 107 253 / 0.08), transparent 36%),
    white;
}

.article-highlight-grid h3 {
  margin-top: 0;
}

.article-highlight-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.article-faq {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.article-faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.article-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #1b2b46;
  font-weight: 760;
  list-style-position: inside;
}

.article-faq details[open] summary {
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.article-faq p {
  margin: 0;
  padding: 18px 20px 22px;
}

.article-end-cta {
  margin-top: 70px;
  padding: 36px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgb(121 87 246 / 0.24), transparent 30%),
    var(--navy);
  color: white;
}

.article-end-cta h2 {
  margin: 0 0 12px;
  color: white;
}

.article-end-cta p {
  color: #aebbd0;
}

.article-end-cta .blog-button {
  margin-top: 12px;
}

.article-share {
  display: flex;
  margin-top: 22px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.article-share button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.static-demo-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 24px;
  place-items: center;
  background: rgb(4 15 36 / 0.76);
  backdrop-filter: blur(10px);
}

.static-demo-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 42px;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 28px;
  background: white;
  box-shadow: 0 32px 90px rgb(2 15 42 / 0.32);
}

.static-demo-dialog h2 {
  margin: 0 52px 10px 0;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.static-demo-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--muted);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  place-items: center;
}

.static-demo-note {
  margin: 0 0 18px;
  color: var(--muted);
}

.static-demo-session {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid #cfe0fb;
  border-radius: 14px;
  background: var(--brand-soft);
  color: #33435e;
  font-size: 14px;
}

.static-demo-form {
  display: grid;
  gap: 18px 16px;
  grid-template-columns: 1fr 1fr;
}

.static-demo-form label:not(.static-demo-privacy) {
  display: grid;
  gap: 7px;
  color: #263753;
  font-size: 13px;
  font-weight: 700;
}

.static-demo-form input,
.static-demo-form select,
.static-demo-form textarea {
  width: 100%;
  border: 1px solid #bdcce0;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 15px;
}

.static-demo-form input,
.static-demo-form select {
  min-height: 48px;
  padding: 0 14px;
}

.static-demo-form textarea {
  min-height: 116px;
  padding: 12px 14px;
  resize: vertical;
}

.static-demo-form input:focus,
.static-demo-form select:focus,
.static-demo-form textarea:focus {
  border-color: var(--brand);
}

.static-demo-wide {
  grid-column: 1 / -1;
}

.static-demo-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #40516d;
  font-size: 13px;
}

.static-demo-privacy input {
  width: 17px;
  min-height: 17px;
  margin: 3px 0 0;
}

.static-demo-privacy a {
  color: var(--brand);
}

.static-demo-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.static-demo-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.static-demo-trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.static-demo-error {
  margin: -4px 0 0;
  padding: 11px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff1f2;
  color: #c02632;
  font-size: 13px;
}

.static-demo-success {
  padding: 42px 12px 28px;
  text-align: center;
}

.static-demo-success h2 {
  margin: 0 0 12px;
}

.static-demo-success > p:not(.eyebrow) {
  margin: 0 auto 26px;
  color: var(--muted);
}

.static-demo-success-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #e8faf4;
  color: var(--safe);
  font-size: 32px;
  font-weight: 800;
  place-items: center;
}

@media (max-width: 980px) {
  .blog-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .article-sidebar {
    position: static;
  }

  .blog-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .blog-search {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .article-sidebar {
    grid-template-columns: 1.3fr 0.7fr;
  }

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

@media (max-width: 760px) {
  .blog-shell {
    width: min(100% - 28px, 1180px);
  }

  .blog-header-inner {
    min-height: 64px;
  }

  .blog-header.is-scrolled {
    padding-top: 8px;
  }

  .blog-header.is-scrolled .blog-header-inner {
    min-height: 56px;
    padding: 0 12px;
    border-radius: 20px;
  }

  .blog-nav {
    display: none;
  }

  .blog-actions .blog-button-secondary {
    display: none;
  }

  .blog-actions .blog-button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .blog-hero {
    padding: 70px 0 54px;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .blog-hero h1 span {
    white-space: normal;
  }

  .blog-hero-copy,
  .article-deck {
    font-size: 16px;
  }

  .blog-content,
  .article-body-section {
    padding-top: 48px;
    padding-bottom: 76px;
  }

  .featured-copy {
    padding: 24px;
  }

  .featured-copy h2 {
    font-size: 30px;
  }

  .article-grid,
  .blog-sidebar,
  .article-sidebar,
  .article-checks,
  .article-highlight-grid,
  .blog-footer-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 270px;
  }

  .article-hero {
    padding: 60px 0 42px;
  }

  .article-cover {
    width: min(100% - 28px, 1180px);
    border-radius: 20px;
  }

  .article-sidebar {
    display: flex;
    flex-direction: column;
  }

  .article-sidebar .toc-card {
    order: -1;
  }

  .article-content h2 {
    margin-top: 50px;
    font-size: 29px;
  }

  .article-content p,
  .article-content li {
    font-size: 16px;
  }

  .article-end-cta {
    padding: 28px 22px;
  }

  .static-demo-backdrop {
    padding: 12px;
  }

  .static-demo-dialog {
    max-height: calc(100vh - 24px);
    padding: 32px 20px 24px;
    border-radius: 22px;
  }

  .static-demo-dialog h2 {
    margin-right: 34px;
  }

  .static-demo-close {
    top: 14px;
    right: 14px;
  }

  .static-demo-form {
    grid-template-columns: 1fr;
  }

  .static-demo-wide {
    grid-column: auto;
  }

  .blog-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
