
/* Pixso article reading system: visual-only, language-aware, SEO-neutral. */
@font-face {
  font-family: 'Figtree';
  src: url('https://pixso.net/assets/fonts/Figtree-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('https://pixso.net/assets/fonts/Figtree-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('https://pixso.net/assets/fonts/Figtree-SemiBold.ttf') format('truetype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --px-article-font: 'Figtree', 'Segoe UI', Arial, 'Noto Sans', sans-serif;
  --px-article-text: #273142;
  --px-article-muted: #64748b;
  --px-article-heading: #161b26;
  --px-article-border: #e5e7eb;
  --px-article-surface: #f8f9fc;
  --px-article-brand: #4f46c8;
}
html[lang^="ja"] {
  --px-article-font: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', Meiryo, sans-serif;
}
html[lang^="ko"] {
  --px-article-font: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}
html[lang^="zh"] {
  --px-article-font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}
html[lang^="ru"] {
  --px-article-font: 'Figtree', 'Segoe UI', Arial, 'Noto Sans', sans-serif;
}
html body .content-title,
html body .content,
html body .content p,
html body .content li,
html body .content table,
html body .content blockquote,
html body .content figcaption,
html body .author-box,
html body .article-nav.left-nav {
  font-family: var(--px-article-font) !important;
  color: var(--px-article-text);
  font-synthesis: none;
}
html body .content-title {
  max-width: 920px;
  height: auto !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
html body .content {
  max-width: 760px !important;
  margin-inline: auto;
  color: var(--px-article-text);
  text-rendering: optimizeLegibility;
}
html body .content p {
  font-size: 1.0625rem !important;
  line-height: 1.82 !important;
  margin: 0 0 1.35rem !important;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
html body .content h2,
html body .content h3,
html body .content h4 {
  color: var(--px-article-heading) !important;
  font-family: var(--px-article-font) !important;
  padding-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  scroll-margin-top: 124px;
  text-wrap: balance;
}
html body .content h2 {
  margin-top: 3.25rem !important;
  margin-bottom: 1rem !important;
  font-size: clamp(1.6rem, 2.5vw, 2rem) !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em;
}
html body .content h3 {
  margin-top: 2.2rem !important;
  margin-bottom: .75rem !important;
  font-size: clamp(1.2rem, 2vw, 1.42rem) !important;
  line-height: 1.45 !important;
}
html body .content h4 {
  margin-top: 1.65rem !important;
  margin-bottom: .6rem !important;
  font-size: 1.08rem !important;
  line-height: 1.5 !important;
}
html body .content a {
  color: var(--px-article-brand);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}
html body .content a:hover { color: #302c86; }
html body .content ul,
html body .content ol {
  margin: 1.25rem 0 1.65rem !important;
  padding-inline-start: 1.5rem !important;
}
html body .content ul { list-style: disc !important; }
html body .content ol { list-style: decimal !important; }
html body .content ul li,
html body .content ol li {
  display: list-item;
  margin: .55rem 0 !important;
  padding: 0 !important;
  font-size: 1.02rem !important;
  line-height: 1.72 !important;
  color: var(--px-article-text) !important;
}
html body .content ul li::before,
html body .content ol li::before { content: none !important; }
html body .content strong { color: var(--px-article-heading); font-weight: 650; }
html body .content blockquote {
  margin: 2rem 0 !important;
  padding: 1rem 1.25rem !important;
  border-left: 4px solid #9a8cff;
  border-radius: 0 12px 12px 0;
  background: var(--px-article-surface);
  color: #475569;
}
html body .content pre,
html body .content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}
html body .content table {
  width: 100%;
  margin: 2rem 0 !important;
  border: 1px solid var(--px-article-border);
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  font-size: .96rem !important;
  line-height: 1.6 !important;
}
html body .content table th,
html body .content table td {
  padding: .85rem 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--px-article-border) !important;
  border-right: 1px solid var(--px-article-border) !important;
  vertical-align: top;
  text-align: start;
}
html body .content table th:last-child,
html body .content table td:last-child { border-right: 0 !important; }
html body .content table tr:last-child td { border-bottom: 0 !important; }
html body .content table thead th {
  color: var(--px-article-heading);
  background: var(--px-article-surface);
  font-weight: 650;
}
html body .content figure.article-figure {
  width: 100%;
  max-width: 100%;
  margin: 2.5rem 0 !important;
  text-align: center;
}
html body .content figure.article-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto !important;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .08);
}
html body .content figure.article-figure figcaption {
  max-width: 720px;
  margin: .75rem auto 0;
  color: var(--px-article-muted);
  font-size: .875rem;
  line-height: 1.6;
  text-align: start;
}
html body .content img:not(.icon-img) { height: auto; }
html body .content hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--px-article-border); }
html body .content mark { padding: .1em .25em; border-radius: .25em; background: #fff2b3; }
html body .pixso-table-scroll { width: 100%; }
html body .pixso-table-scroll:focus-visible { outline: 2px solid #6254d9; outline-offset: 4px; }
@media (max-width: 1200px) {
  html body .content-right { margin: 0 !important; }
  html body .content { max-width: 780px !important; }
}
@media (max-width: 767px) {
  html body .content-main { padding-inline: 16px !important; }
  html body .content-title {
    font-size: clamp(1.9rem, 8vw, 2.25rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em;
  }
  html body .content { max-width: 100% !important; }
  html body .content p {
    font-size: 1rem !important;
    line-height: 1.78 !important;
    margin-bottom: 1.15rem !important;
  }
  html body .content h2 {
    margin-top: 2.65rem !important;
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
  }
  html body .content h3 { margin-top: 1.8rem !important; font-size: 1.2rem !important; }
  html body .content ul li,
  html body .content ol li { font-size: .98rem !important; line-height: 1.7 !important; }
  html body .content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  html body .content table th,
  html body .content table td { min-width: 10rem; }
  html body .content figure.article-figure { margin: 2rem 0 !important; }
  html body .content figure.article-figure img { border-radius: 12px; box-shadow: 0 8px 24px rgba(15, 23, 42, .08); }
  html body .content figure.article-figure figcaption { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  html body .content * { scroll-behavior: auto !important; }
}

/* A single localized conversion card lives beside the article on wide screens. */
html body .content-main { position: relative; }
html body .pixso-article-conversion {
  display: none;
  box-sizing: border-box;
  color: #252a35;
  background: #f6f7ff;
  border: 1px solid #e4e5f7;
  border-radius: 12px;
  font-family: var(--px-article-font) !important;
  z-index: 2;
}
html body .pixso-article-conversion__eyebrow,
html body .pixso-article-conversion__title,
html body .pixso-article-conversion__note {
  display: block;
}
html body .pixso-article-conversion__eyebrow {
  margin-bottom: 10px;
  color: #565cff;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}
html body .pixso-article-conversion__title {
  margin: 0 0 12px !important;
  color: #1d2129;
  font-size: 22px !important;
  font-weight: 600;
  line-height: 1.45 !important;
  letter-spacing: -.015em;
}
html body .pixso-article-conversion ul {
  margin: 0 0 20px !important;
  padding: 0 !important;
  list-style: none !important;
}
html body .pixso-article-conversion li {
  position: relative;
  margin: 0 !important;
  padding: 5px 0 5px 20px !important;
  color: #4e5969 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  list-style: none !important;
}
html body .pixso-article-conversion li::before {
  content: '✓';
  position: absolute;
  top: 5px;
  left: 0;
  color: #27ae78;
  font-weight: 700;
}
html body .pixso-article-conversion__cta {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff !important;
  background: #565cff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none !important;
  transition: background-color 120ms ease, transform 120ms ease;
}
html body .pixso-article-conversion__cta:hover { background: #454bd9; }
html body .pixso-article-conversion__cta:active { transform: translateY(1px); }
html body .pixso-article-conversion__cta:focus-visible {
  outline: 3px solid rgba(86, 92, 255, .32);
  outline-offset: 3px;
}
html body .pixso-article-conversion__note {
  margin-top: 10px;
  color: #86909c;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
@media (min-width: 1680px) {
  html body .pixso-article-conversion {
    position: absolute;
    top: 0;
    right: max(24px, calc(50% - 736px));
    display: flex;
    width: 280px;
    padding: 24px;
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  html body .pixso-article-conversion {
    position: static !important;
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 24px 0 40px;
    padding: 20px;
    flex-direction: column;
  }
  html body .pixso-article-conversion__title { font-size: 20px !important; }
  html body .content-main[data-pixso-toc-layout] > .pixso-article-conversion { order: 3; }
  html body .content-main[data-pixso-toc-layout] > .content-right { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html body .pixso-article-conversion__cta { transition: none; }
}

/* Keep an editor's table figure inside the article; only its inner region scrolls. */
@media (max-width: 767px) {
  html body .content figure.table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  html body .content .pixso-table-scroll {
    width: 100%;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
}
