.sj-journal {
    --sj-paper: #faf9f6;
    --sj-ink: #10253e;
    --sj-muted: #526174;
    --sj-line: #d8dee5;
    --sj-red: #b7172b;
    --sj-top: 92px;
    color: var(--sj-ink);
    background: var(--sj-paper);
    padding-bottom: 90px;
    overflow-wrap: break-word;
}
.sj-journal *, .sj-journal *::before, .sj-journal *::after { box-sizing: border-box; }
.sj-journal a:focus-visible, .sj-journal summary:focus-visible { outline: 3px solid #7550ca; outline-offset: 5px; }
.sj-wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.sj-journal h1, .sj-journal h2, .sj-journal h3 { color: var(--sj-ink); text-wrap: balance; }
.sj-label { color: var(--sj-red); font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.sj-journal .sj-meta { color: var(--sj-muted); font-size: 12px; line-height: 1.6; margin: 0 0 18px; }
.sj-meta span { margin-inline: 7px; }
.sj-index-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 90px; align-items: end; padding-block: 75px 48px; }
.sj-index-intro h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.06; letter-spacing: -.055em; margin: 0; }
.sj-index-intro > p { font-size: 16px; line-height: 1.85; color: var(--sj-muted); max-width: 350px; margin: 0 0 3px auto; }
.sj-feature { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--sj-line); border-radius: 22px; overflow: hidden; }
.sj-feature-image { display: block; position: relative; overflow: hidden; min-height: 470px; background: #e8e9e9; }
.sj-feature-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 47% center; transition: transform .6s ease; }
.sj-feature-image:hover img { transform: scale(1.035); }
.sj-image-label { position: absolute; bottom: 22px; left: 22px; border-radius: 5px; background: #fff; padding: 8px 12px; font-size: 11px; font-weight: 650; color: var(--sj-ink); }
.sj-feature-copy { padding: clamp(28px, 4vw, 55px); display: flex; flex-direction: column; align-items: start; justify-content: center; }
.sj-feature-copy h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 20px; }
.sj-feature-copy > p:not(.sj-label):not(.sj-meta) { font-size: 14px; line-height: 1.85; color: var(--sj-muted); margin-bottom: 25px; }
.sj-feature-copy h2 a:hover { color: var(--sj-red); }
.sj-button { display: inline-flex; gap: 25px; align-items: center; justify-content: space-between; background: #061b35; color: #fff !important; font-size: 13px; line-height: 1.5; font-weight: 650; padding: 17px 23px; border-radius: 9px; min-height: 48px; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.sj-button:hover { background: var(--sj-red); transform: translateY(-2px); }
.sj-button span { font-size: 20px; line-height: 1; }
.sj-button > span, .sj-read > span { position: relative; display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; font-size: 0 !important; }
.sj-button > span::before, .sj-read > span::before { content: ''; position: absolute; width: 14px; height: 1.5px; left: 0; top: 9px; background: currentColor; transform: rotate(-45deg); }
.sj-button > span::after, .sj-read > span::after { content: ''; position: absolute; width: 8px; height: 8px; right: 2px; top: 2px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.sj-button-light { color: #061b35 !important; background: #fff; }
.sj-button-light:hover { color: #061b35 !important; background: #f9e1e4; }
.sj-more { padding-top: 80px; }
.sj-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.sj-section-heading h2 { margin: 0; font-size: clamp(29px, 3vw, 40px); letter-spacing: -.045em; line-height: 1.14; }
.sj-section-heading > p { max-width: 270px; font-size: 13px; line-height: 1.7; color: var(--sj-muted); margin: 0; }
.sj-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.sj-guide-card { background: #fff; border: 1px solid var(--sj-line); border-radius: 15px; min-width: 0; overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.sj-guide-card > a { display: flex; flex-direction: column; height: 100%; }
.sj-guide-card:hover { transform: translateY(-5px); border-color: #8e9aab; }
.sj-card-image { overflow: hidden; aspect-ratio: 1.65; background: #e5e8eb; }
.sj-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.sj-guide-card:hover img { transform: scale(1.035); }
.sj-card-copy { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.sj-card-copy h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.035em; margin: 0 0 16px; }
.sj-card-copy > p:not(.sj-label):not(.sj-meta) { font-size: 13px; line-height: 1.8; color: var(--sj-muted); margin-bottom: 24px; }
.sj-card-copy .sj-label { font-size: 10px; margin-bottom: 13px; }
.sj-read { color: var(--sj-red); display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; padding-top: 18px; border-top: 1px solid var(--sj-line); margin-top: auto; }
.sj-read > span { font-size: 19px; line-height: 1; }
.sj-index-cta { margin-top: 70px; padding: 45px 48px; border-radius: 18px; background: #061b35; color: #d7e0eb; display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.sj-index-cta .sj-label { color: #ffb6c1; }
.sj-index-cta h2 { color: #fff; font-size: 32px; max-width: 520px; margin: 0 0 15px; }
.sj-index-cta p:last-child { color: #d7e0eb; font-size: 14px; margin: 0; }
.sj-index-cta > a { flex-shrink: 0; }
.sj-article-hero { padding-top: 30px; padding-bottom: 65px; }
.sj-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 11px; line-height: 1.6; color: var(--sj-muted); margin-bottom: 48px; }
.sj-breadcrumb a { color: #31445c; }
.sj-breadcrumb a:hover { text-decoration: underline; }
.sj-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; align-items: center; }
.sj-hero-copy h1 { font-size: clamp(34px, 3.55vw, 51px); line-height: 1.1; letter-spacing: -.05em; margin-bottom: 23px; }
.sj-deck { color: var(--sj-muted); font-size: 16px; line-height: 1.8; margin-bottom: 25px; }
.sj-byline { display: flex; gap: 12px; align-items: center; margin-bottom: 26px; font-size: 12px; }
.sj-author-mark { display: flex; justify-content: center; align-items: center; width: 46px; height: 46px; background: #061b35; color: #fff; border-radius: 50%; font-size: 13px; font-weight: 700; letter-spacing: -.06em; }
.sj-byline a { font-weight: 650; }
.sj-byline p { color: var(--sj-muted); font-size: 11px; margin: 3px 0 0; }
.sj-text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 650; color: var(--sj-red); min-height: 36px; }
.sj-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.sj-hero-image { margin: 0; min-width: 0; position: relative; }
.sj-hero-image::before { content: ''; display: block; width: 50%; height: 4px; background: #c91e35; margin-bottom: 12px; }
.sj-hero-image > img { display: block; width: 100%; aspect-ratio: 1.13; object-fit: cover; object-position: 48% center; border-radius: 12px; }
.sj-hero-image figcaption { color: var(--sj-muted); font-size: 10px; line-height: 1.7; margin-top: 10px; }
.sj-hero-image figcaption a, .sj-figure figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.sj-body-wrap { display: grid; grid-template-columns: 240px minmax(0, 750px); gap: 88px; padding-top: 50px; padding-bottom: 30px; border-top: 1px solid var(--sj-line); align-items: start; scroll-margin-top: 110px; }
.sj-sidebar { height: 100%; }
.sj-toc { position: sticky; top: 120px; max-height: calc(100vh - 145px); overflow-y: auto; padding: 0 12px 10px 0; scrollbar-width: thin; }
.sj-toc ol, .sj-mobile-toc ol { list-style: none; padding: 0; margin: 0; }
.sj-toc li + li { border-top: 1px solid #e3e5e9; }
.sj-toc li a { display: block; font-size: 11px; line-height: 1.6; color: #526174; padding: 11px 0; border-left: 2px solid transparent; padding-left: 12px; }
.sj-toc li a:hover, .sj-toc li a[aria-current='location'] { border-color: var(--sj-red); color: var(--sj-red); }
.sj-sidebar-cta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--sj-red); border-top: 1px solid var(--sj-line); padding: 20px 0; margin-top: 15px; }
.sj-reading { min-width: 0; }
.sj-prose { font-size: 17px; line-height: 1.9; color: #26364b; }
.sj-prose p { margin: 0 0 23px; }
.sj-prose > p:first-child { font-size: 21px; line-height: 1.75; color: #10253e; }
.sj-prose h2 { font-size: 32px; line-height: 1.23; letter-spacing: -.04em; margin: 0 0 25px; scroll-margin-top: 122px; }
.sj-prose h3 { font-size: 24px; line-height: 1.35; letter-spacing: -.03em; margin: 40px 0 17px; scroll-margin-top: 122px; }
.sj-prose a:not(.sj-button) { color: #a61a2e; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sj-prose a:not(.sj-button):hover { text-decoration-thickness: 2px; }
.sj-prose strong { font-weight: 650; color: #10253e; }
.sj-prose ul, .sj-prose ol { padding-left: 24px; margin: 0 0 27px; }
.sj-prose li { padding-left: 3px; margin: 6px 0; }
.sj-prose li::marker { color: var(--sj-red); }
.sj-section { padding-top: 48px; margin-top: 42px; border-top: 1px solid var(--sj-line); }
.sj-section:first-of-type { margin-top: 46px; }
.sj-definition { padding: 24px 27px 5px; border: 1px solid var(--sj-line); border-left: 3px solid var(--sj-red); border-radius: 0 12px 12px 0; margin-bottom: 18px; background: #fff; }
.sj-definition h3 { font-size: 21px; margin-top: 0; }
.sj-definition p { font-size: 15px; }
.sj-figure { margin: 44px 0; }
.sj-figure img { display: block; width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: 12px; }
.sj-figure figcaption { color: var(--sj-muted); font-size: 11px; line-height: 1.7; margin: 12px 0 0; }
.sj-table { border: 1px solid var(--sj-line); border-radius: 11px; overflow: hidden; margin-block: 30px; }
.sj-table table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.7; }
.sj-table th, .sj-table td { text-align: left; vertical-align: top; padding: 14px 18px; overflow-wrap: anywhere; }
.sj-table th { color: #fff; background: #10253e; font-weight: 600; }
.sj-table td:first-child { font-weight: 600; width: 43%; }
.sj-table tr + tr { border-top: 1px solid #e0e4eb; }
.sj-table tbody tr:nth-child(even) { background: #f0f2f5; }
.sj-roadmap-step { padding: 28px 28px 12px; margin: 25px 0; border: 1px solid var(--sj-line); border-top: 3px solid var(--sj-red); border-radius: 0 0 12px 12px; background: #fff; }
.sj-roadmap-step h3 { margin-top: 0; font-size: 24px; }
.sj-roadmap-step ul { margin-bottom: 15px; font-size: 15px; }
.sj-faq { border-bottom: 1px solid var(--sj-line); padding: 0; }
.sj-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 26px; list-style: none; cursor: pointer; padding: 22px 0; font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--sj-ink); }
.sj-faq summary::-webkit-details-marker, .sj-mobile-toc summary::-webkit-details-marker { display: none; }
.sj-faq summary > span { font-size: 24px; font-weight: 400; color: var(--sj-red); flex: 0 0 20px; transition: transform .2s ease; }
.sj-faq[open] summary > span { transform: rotate(45deg); }
.sj-faq > div { padding: 0 35px 10px 0; font-size: 15px; line-height: 1.85; }
.sj-article-footer { padding: 30px 0 0; margin-top: 40px; border-top: 1px solid var(--sj-line); }
.sj-article-footer p { font-size: 12px; line-height: 1.9; color: var(--sj-muted); }
.sj-article-footer p a { color: var(--sj-ink); font-weight: 650; text-decoration: underline; }
.sj-related { padding-top: 70px; }
.sj-readingbar { position: fixed; top: var(--sj-top); left: 0; width: 100%; height: 3px; background: transparent; pointer-events: none; z-index: 101; }
.sj-readingbar span { display: block; width: 100%; height: 100%; background: #b7172b; transform: scaleX(0); transform-origin: left; }
.sj-mobile-toc { display: none; }
.admin-bar .sj-readingbar { top: calc(var(--sj-top) + 32px); }
.v4-motion-paused .sj-journal *, .v4-motion-paused .sj-journal *::before, .v4-motion-paused .sj-journal *::after { animation: none !important; transition: none !important; }
@media (max-width: 1100px) {
    .sj-wrap { width: calc(100% - 60px); }
    .sj-hero-grid { gap: 35px; }
    .sj-body-wrap { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
    .sj-guide-grid { gap: 18px; }
    .sj-card-copy { padding: 21px; }
    .sj-card-copy h3 { font-size: 21px; }
    .sj-feature-copy { padding: 30px; }
    .sj-index-intro { gap: 40px; }
}
@media (max-width: 900px) {
    .sj-body-wrap { display: block; max-width: 750px; }
    .sj-sidebar { display: none; }
    .sj-mobile-toc { display: block; position: sticky; top: 92px; z-index: 30; background: #faf9f6; border: 1px solid var(--sj-line); border-radius: 8px; margin: -15px 0 35px; }
    .sj-mobile-toc summary { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 14px 17px; font-size: 13px; font-weight: 650; cursor: pointer; list-style: none; }
    .sj-mobile-toc nav { padding: 5px 18px 17px; max-height: 50vh; overflow-y: auto; }
    .sj-mobile-toc li + li { border-top: 1px solid #e4e7eb; }
    .sj-mobile-toc a { display: block; min-height: 42px; padding: 10px 0; font-size: 12px; color: #31445c; line-height: 1.6; }
    .sj-feature { grid-template-columns: 1fr 1fr; }
    .sj-feature-image { min-height: 470px; }
    .sj-index-cta { padding: 33px; gap: 30px; }
    .sj-index-cta h2 { font-size: 29px; }
}
@media (max-width: 767px) {
    .sj-journal { --sj-top: 76px; padding-bottom: 55px; }
    .sj-wrap { width: calc(100% - 40px); }
    .sj-index-intro { display: block; padding-block: 40px 30px; }
    .sj-index-intro h1 { font-size: clamp(36px, 8vw, 50px); line-height: 1.08; }
    .sj-index-intro > p { margin: 22px 0 0; max-width: 470px; font-size: 14px; }
    .sj-feature { grid-template-columns: 1fr; border-radius: 15px; }
    .sj-feature-image { min-height: 0; aspect-ratio: 1.4; }
    .sj-feature-image img { height: 100%; }
    .sj-feature-copy { padding: 28px 24px; }
    .sj-feature-copy h2 { font-size: 29px; }
    .sj-feature-copy .sj-label { margin-bottom: 12px; }
    .sj-image-label { left: 16px; bottom: 16px; padding: 7px 10px; }
    .sj-more { padding-top: 50px; }
    .sj-section-heading { display: block; margin-bottom: 24px; }
    .sj-section-heading h2 { font-size: 30px; }
    .sj-section-heading > p { margin-top: 16px; max-width: none; }
    .sj-guide-grid { grid-template-columns: 1fr; gap: 24px; }
    .sj-card-image { aspect-ratio: 1.85; }
    .sj-card-copy { padding: 24px; }
    .sj-card-copy h3 { font-size: 24px; }
    .sj-index-cta { display: block; margin-top: 45px; padding: 30px 25px; border-radius: 13px; }
    .sj-index-cta h2 { font-size: 29px; }
    .sj-index-cta > a { margin-top: 27px; width: 100%; }
    .sj-article-hero { padding-top: 20px; padding-bottom: 30px; }
    .sj-breadcrumb { gap: 8px; font-size: 10px; margin-bottom: 30px; }
    .sj-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
    .sj-hero-copy h1 { font-size: clamp(32px, 7.7vw, 43px); line-height: 1.13; letter-spacing: -.045em; }
    .sj-hero-copy .sj-label { font-size: 10px; margin-bottom: 16px; }
    .sj-deck { font-size: 15px; margin-bottom: 23px; }
    .sj-byline { margin-bottom: 12px; }
    .sj-hero-image > img { aspect-ratio: 1.38; object-position: center; border-radius: 8px; }
    .sj-hero-image::before { margin-bottom: 9px; height: 3px; }
    .sj-hero-image figcaption { font-size: 9px; line-height: 1.65; }
    .sj-body-wrap { padding-top: 32px; scroll-margin-top: 90px; }
    .sj-mobile-toc { top: 76px; margin-bottom: 30px; }
    .sj-prose { font-size: 16px; line-height: 1.88; }
    .sj-prose > p:first-child { font-size: 19px; line-height: 1.75; }
    .sj-prose h2 { font-size: 27px; line-height: 1.25; margin-bottom: 22px; scroll-margin-top: 140px; }
    .sj-prose h3 { font-size: 22px; line-height: 1.38; scroll-margin-top: 140px; }
    .sj-prose p { margin-bottom: 21px; }
    .sj-section { padding-top: 33px; margin-top: 33px; }
    .sj-definition { padding: 21px 20px 1px; }
    .sj-definition h3 { font-size: 21px; }
    .sj-figure { margin-block: 32px; }
    .sj-figure img { border-radius: 8px; aspect-ratio: 1.35; }
    .sj-figure figcaption { font-size: 10px; }
    .sj-table th, .sj-table td { padding: 12px 11px; font-size: 12px; }
    .sj-roadmap-step { padding: 22px 20px 7px; }
    .sj-roadmap-step h3 { font-size: 22px; }
    .sj-roadmap-step ul { font-size: 14px; padding-left: 19px; }
    .sj-faq summary { font-size: 16px; padding-block: 20px; }
    .sj-faq > div { font-size: 14px; padding-right: 10px; }
    .sj-related { padding-top: 40px; }
    .admin-bar .sj-readingbar { top: calc(var(--sj-top) + 46px); }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.sj-journal) { scroll-behavior: auto !important; }
    .sj-journal *, .sj-journal *::before, .sj-journal *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
