:root {
  --article-bg: #050711;
  --article-panel: #0b1324;
  --article-panel-strong: #111b30;
  --article-cyan: #4ed8ff;
  --article-cyan-hover: #7be3ff;
  --article-lime: #c8ff67;
  --article-text: #f6f8ff;
  --article-text-soft: #a6b3ca;
  --article-text-muted: #667792;
  --article-border: rgba(156, 189, 255, 0.13);
  --article-border-cyan: rgba(78, 216, 255, 0.3);
  --article-shadow: 0 24px 72px rgba(0, 0, 0, 0.36);
}

body.article-v2 {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--article-bg);
  color: var(--article-text);
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.article-v2::after {
  display: none;
}

.article-v2 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-v2 .site-shell {
  position: relative;
  z-index: 1;
  overflow: clip;
}

.article-v2 .container {
  width: min(1180px, calc(100% - 48px));
}

.article-v2 .site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 0;
  border-bottom: 1px solid var(--article-border);
  background: rgba(5, 7, 17, 0.9);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.article-v2 .header-inner {
  min-height: 72px;
  padding: 0;
  gap: 24px;
}

.article-v2 .brand__mark--sg {
  width: 40px;
  height: 40px;
  border: 1px solid var(--article-border-cyan);
  border-radius: 8px;
  background: #16314d;
  box-shadow: none;
}

.article-v2 .brand__text strong,
.article-v2 .brand__glyph--s {
  color: var(--article-text);
}

.article-v2 .brand__glyph--g,
.article-v2 .brand__text small,
.article-v2 .site-nav a,
.article-v2 .lang-switch a {
  color: var(--article-text-soft);
}

.article-v2 .site-nav a:hover,
.article-v2 .lang-switch a:hover {
  color: var(--article-cyan);
}

.article-v2 .lang-switch {
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: var(--article-panel);
}

.article-v2 .lang-switch .is-current {
  border-radius: 6px;
  background: rgba(78, 216, 255, 0.11);
  color: var(--article-cyan);
}

.article-v2 .btn {
  min-height: 48px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.article-v2 .btn-primary {
  border: 1px solid transparent;
  background: var(--article-cyan);
  color: #06121a;
  box-shadow: 0 12px 30px rgba(78, 216, 255, 0.16);
}

.article-v2 .btn-primary:hover {
  border-color: transparent;
  background: var(--article-cyan-hover);
  color: #06121a;
  box-shadow: 0 15px 34px rgba(78, 216, 255, 0.22);
}

.article-v2 .btn-secondary {
  border: 1px solid var(--article-border-cyan);
  background: rgba(5, 7, 17, 0.5);
  color: var(--article-text);
}

.article-v2 .btn-secondary:hover {
  border-color: var(--article-cyan);
  background: rgba(78, 216, 255, 0.08);
  color: var(--article-cyan);
}

.article-v2.article-shell {
  padding-top: 0;
}

.article-v2 .article-shell {
  padding-top: 0;
}

.article-v2 .article-shell .hero,
.article-v2 .hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 610px;
  align-items: center;
  overflow: hidden;
  padding: 76px 0 88px;
  border-bottom: 1px solid var(--article-border);
  background-color: var(--article-bg);
  background-image: var(--article-hero-image);
  background-position: center;
  background-size: cover;
}

.article-v2 .hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 17, 0.99) 0%, rgba(5, 7, 17, 0.93) 48%, rgba(5, 7, 17, 0.28) 100%);
  content: "";
}

.article-v2 .hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(0deg, var(--article-bg), transparent);
  content: "";
}

.article-v2 .hero .container {
  margin: 0 auto;
}

.article-v2 .article-breadcrumbs {
  margin-bottom: 34px;
  color: var(--article-text-muted);
  font-size: 0.8rem;
}

.article-v2 .article-breadcrumbs a,
.article-v2 .article-breadcrumbs span {
  color: var(--article-text-muted);
}

.article-v2 .article-breadcrumbs a:hover,
.article-v2 .article-breadcrumbs strong {
  color: var(--article-cyan);
}

.article-v2 .eyebrow,
.article-v2 .section-kicker {
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--article-lime);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-v2 .hero h1 {
  max-width: 820px;
  margin-top: 18px;
  color: var(--article-text);
  font-size: 4.6rem;
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.article-v2 .hero .lead {
  max-width: 700px;
  margin-top: 26px;
  color: #c3ccdc;
  font-size: 1.16rem;
  line-height: 1.68;
}

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

.article-v2 .article-meta {
  gap: 1px;
  max-width: 780px;
  margin-top: 34px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: var(--article-border);
  overflow: hidden;
}

.article-v2 .article-meta span {
  min-height: 48px;
  padding: 12px 15px;
  border: 0;
  border-radius: 0;
  background: rgba(7, 12, 24, 0.9);
  color: var(--article-text-soft);
  font-size: 0.76rem;
}

.article-v2 .section {
  padding: 96px 0;
}

.article-v2 main > .section:nth-of-type(3) {
  border-block: 1px solid var(--article-border);
  background: #08101e;
}

.article-v2 .article-grid {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 72px;
}

.article-v2 .article-main {
  gap: 0;
  min-width: 0;
}

.article-v2 .article-main > .list-panel {
  padding: 42px 0;
  border: 0;
  border-top: 1px solid var(--article-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-v2 .article-main > .list-panel:first-child {
  padding-top: 0;
  border-top: 0;
}

.article-v2 .article-copy h2,
.article-v2 .article-copy h3 {
  color: var(--article-text);
  letter-spacing: 0;
  text-wrap: balance;
}

.article-v2 .article-copy h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 2.35rem;
  line-height: 1.08;
}

.article-v2 .article-copy h3 {
  margin-top: 30px;
  font-size: 1.2rem;
}

.article-v2 .article-copy p,
.article-v2 .article-copy li {
  max-width: 760px;
  color: #c3ccdc;
  font-size: 1.03rem;
  line-height: 1.82;
}

.article-v2 .article-copy p,
.article-v2 .article-copy ul,
.article-v2 .article-copy ol {
  margin-top: 18px;
}

.article-v2 .article-copy li + li {
  margin-top: 11px;
}

.article-v2 .article-copy strong {
  color: var(--article-text);
}

.article-v2 .article-copy a {
  color: var(--article-cyan);
  text-decoration-color: rgba(78, 216, 255, 0.42);
}

.article-v2 .article-callout {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--article-border-cyan);
  border-radius: 8px;
  background: rgba(78, 216, 255, 0.08);
  color: #dce4f1;
}

.article-v2 code {
  border: 1px solid var(--article-border);
  border-radius: 5px;
  background: rgba(78, 216, 255, 0.1);
  color: var(--article-cyan);
}

.article-v2 .article-aside {
  top: 96px;
  gap: 12px;
}

.article-v2 .article-aside .list-panel {
  padding: 24px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: var(--article-panel);
  box-shadow: none;
}

.article-v2 .article-aside .list-panel:first-child {
  border-color: var(--article-border-cyan);
  background: #0b1727;
}

.article-v2 .article-aside h2 {
  margin-top: 12px;
  color: var(--article-text);
  font-size: 1.25rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.article-v2 .article-aside p,
.article-v2 .article-aside li,
.article-v2 .detail-list li span {
  color: var(--article-text-soft);
}

.article-v2 .detail-list li {
  border-color: var(--article-border);
}

.article-v2 .detail-list li strong,
.article-v2 .article-aside strong {
  color: var(--article-text);
}

.article-v2 .support-block {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-v2 .support-block__intro {
  max-width: 780px;
}

.article-v2 .section-title,
.article-v2 .section-title--compact {
  margin-top: 14px;
  color: var(--article-text);
  font-size: 3.5rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.article-v2 .section-lead {
  max-width: 650px;
  color: var(--article-text-soft);
}

.article-v2 .support-grid,
.article-v2 .article-link-grid {
  gap: 12px;
}

.article-v2 .support-card,
.article-v2 .article-link-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: var(--article-panel);
  box-shadow: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.article-v2 .support-card:hover,
.article-v2 .article-link-card:hover {
  border-color: var(--article-border-cyan);
  background: var(--article-panel-strong);
  box-shadow: none;
  transform: translateY(-2px);
}

.article-v2 .support-card__tag,
.article-v2 .article-link-card .support-card__tag {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--article-lime) !important;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0;
}

.article-v2 .support-card h3,
.article-v2 .article-link-card h3 {
  margin-top: 48px;
  color: var(--article-text);
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.article-v2 .support-card p,
.article-v2 .article-link-card p {
  margin-top: 12px;
  color: var(--article-text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.article-v2.article-index-v2 .hero {
  min-height: 570px;
}

.article-v2.article-index-v2 .article-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-v2.article-index-v2 .article-link-card:first-child,
.article-v2.article-index-v2 .article-link-card:nth-child(4) {
  border-color: var(--article-border-cyan);
  background: #0b1727;
}

.article-v2 .site-footer {
  border-top: 1px solid var(--article-border);
  background: #070c16;
}

.article-v2 .footer-links a,
.article-v2 .brand--footer .brand__text small {
  color: var(--article-text-muted);
}

.article-v2 .footer-links a:hover {
  color: var(--article-cyan);
}

.article-mobile-cta {
  position: fixed;
  z-index: 95;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  min-height: 52px;
}

@media (max-width: 980px) {
  .article-v2 .site-nav,
  .article-v2 .lang-switch {
    display: none;
  }

  .article-v2 .header-actions {
    margin-left: auto;
  }

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

  .article-v2 .hero h1 {
    font-size: 4rem;
  }

  .article-v2 .article-aside {
    position: static;
    order: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-v2 .article-aside .list-panel:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

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

@media (max-width: 700px) {
  .article-v2 .container {
    width: min(100% - 28px, 1180px);
  }

  .article-v2 .header-inner {
    min-height: 64px;
    flex-wrap: nowrap;
  }

  .article-v2 .brand__mark--sg {
    width: 36px;
    height: 36px;
  }

  .article-v2 .brand__text small {
    display: none;
  }

  .article-v2 .header-actions .btn {
    min-height: 40px;
    width: auto;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .article-v2 .header-actions {
    width: auto;
    flex-direction: row;
    align-items: center;
  }

  .article-v2 .article-shell .hero,
  .article-v2 .hero {
    min-height: 0;
    align-items: flex-start;
    padding: 48px 0 62px;
    background-position: 64% center;
  }

  .article-v2 .hero::before {
    background: linear-gradient(180deg, rgba(5, 7, 17, 0.98) 0%, rgba(5, 7, 17, 0.9) 64%, rgba(5, 7, 17, 0.62) 100%);
  }

  .article-v2 .article-breadcrumbs {
    margin-bottom: 28px;
  }

  .article-v2 .hero h1 {
    font-size: 2.65rem !important;
  }

  .article-v2 .hero .lead {
    max-width: 37ch;
    font-size: 1rem;
  }

  .article-v2 .hero-actions {
    display: grid;
  }

  .article-v2 .article-meta {
    display: none;
  }

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

  .article-v2 .article-main > .list-panel {
    padding: 34px 0;
  }

  .article-v2 .article-copy h2 {
    font-size: 2rem !important;
  }

  .article-v2 .article-copy p,
  .article-v2 .article-copy li {
    font-size: 1rem;
  }

  .article-v2 .article-aside,
  .article-v2.article-index-v2 .article-link-grid,
  .article-v2 .support-grid {
    grid-template-columns: 1fr;
  }

  .article-v2 .article-aside .list-panel:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .article-v2 .support-card,
  .article-v2 .article-link-card {
    min-height: 220px;
  }

  .article-mobile-cta {
    display: inline-flex;
    width: auto !important;
  }

  .article-v2 .section-title,
  .article-v2 .section-title--compact {
    font-size: 2.5rem !important;
  }

  .article-v2 .site-footer {
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-v2 *,
  .article-v2 *::before,
  .article-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
