:root {
  --ink: #0b0a0f;
  --surface: #12111a;
  --surface-raised: #181622;
  --line: rgba(218, 212, 238, .14);
  --line-strong: rgba(218, 212, 238, .25);
  --text: #fbfaff;
  --muted: #c8c2d8;
  --muted-2: #a8a0ba;
  --violet: #9f83ff;
  --pink: #ff6aae;
  --blue: #5b9cff;
  --content: min(1180px, calc(100% - 48px));
  --reading: min(720px, 100%);
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--ink); font: 400 16px/1.65 Inter, "Segoe UI", Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.shell { width: var(--content); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2000; left: 16px; top: 12px; transform: translateY(-160%); padding: 10px 14px; border-radius: 10px; background: #fff; color: #16111f; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid transparent; background: linear-gradient(180deg, rgba(11, 10, 15, .98), rgba(11, 10, 15, .84)); backdrop-filter: blur(18px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.nav-shell { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { width: 142px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; color: #e6e1f1; font-size: 14px; font-weight: 700; }
.nav-links a { padding: 8px 0; }
.nav-links a:not(.nav-guide):hover { color: var(--pink); }
.nav-guide { color: #fff; border-bottom: 2px solid var(--violet); }
.nav-cta { border: 1px solid rgba(160, 130, 255, .78); border-radius: 999px; padding: 8px 15px !important; }
.nav-cta:hover { background: rgba(159, 131, 255, .15); }
.menu-button { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; }

.article-hero { position: relative; overflow: clip; padding: 26px 0 46px; border-bottom: 1px solid var(--line); background: linear-gradient(112deg, #101019 0%, #11101a 58%, #151226 100%); }
.article-hero::before { content: ""; position: absolute; z-index: -1; width: min(44vw, 580px); aspect-ratio: 1; right: -9vw; top: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(105, 75, 245, .27), rgba(255, 100, 171, .11) 44%, transparent 70%); filter: blur(22px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; color: var(--muted-2); font-size: 13px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-hidden="true"] { color: #766e86; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr); align-items: center; gap: clamp(36px, 6vw, 72px); }
.category { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #d8cbff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.category::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,106,174,.14); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 730px; margin-bottom: 18px; font-size: clamp(40px, 5.1vw, 64px); line-height: .98; letter-spacing: -.04em; }
.answer { max-width: 650px; margin-bottom: 24px; color: #e1dbea; font-size: clamp(18px, 2.2vw, 21px); }
.byline { display: flex; flex-wrap: wrap; gap: 9px 14px; align-items: center; color: var(--muted); font-size: 14px; }
.byline .dot { width: 4px; height: 4px; border-radius: 50%; background: #857d99; }
.hero-figure { margin: 0; border: 1px solid rgba(198, 183, 255, .2); border-radius: 18px; overflow: hidden; box-shadow: 0 26px 50px rgba(0,0,0,.32); background: #12111a; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(40px, 7vw, 100px); padding: 64px 0 96px; }
.article-body { width: var(--reading); max-width: 100%; }
.toc { align-self: start; position: sticky; top: 106px; padding-left: 20px; border-left: 1px solid var(--line-strong); }
.toc h2 { margin-bottom: 12px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; line-height: 1.35; }
.toc a:hover { color: #fff; }
.toc-support { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.toc-support a { color: #d9cffd; font-weight: 800; }

.lead { margin-bottom: 30px; color: #e7e2ef; font-size: 19px; }
.callout { position: relative; margin: 34px 0 44px; padding: 24px 28px 24px 31px; border: 1px solid rgba(159,131,255,.25); border-radius: 0 14px 14px 0; background: linear-gradient(100deg, rgba(100,72,209,.16), rgba(100,72,209,.045)); }
.callout::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(var(--violet), var(--pink)); }
.callout h2 { margin-bottom: 9px; font-size: 20px; }
.callout ul { margin: 0; padding-left: 20px; color: var(--muted); }
.callout li + li { margin-top: 6px; }
.article-body h2 { scroll-margin-top: 112px; margin: 54px 0 14px; font-size: clamp(27px, 3vw, 36px); line-height: 1.08; letter-spacing: -.034em; }
.article-body h3 { margin: 26px 0 8px; font-size: 21px; line-height: 1.18; }
.article-body p, .article-body li { color: var(--muted); }
.steps { counter-reset: guide-step; display: grid; gap: 16px; margin: 25px 0 8px; padding: 0; list-style: none; }
.steps li { position: relative; min-height: 82px; padding: 17px 20px 17px 80px; border-top: 1px solid var(--line-strong); background: linear-gradient(90deg, rgba(255,255,255,.035), transparent); }
.steps li::before { counter-increment: guide-step; content: counter(guide-step, decimal-leading-zero); position: absolute; left: 20px; top: 17px; color: var(--pink); font-size: 15px; font-weight: 900; letter-spacing: .04em; }
.steps strong { display: block; margin-bottom: 2px; color: #fff; }
.note { margin: 32px 0 4px; padding: 20px 22px; border: 1px solid rgba(91,156,255,.28); border-radius: 12px; background: rgba(42,65,122,.12); }
.note h3 { margin: 0 0 6px; color: #d6e6ff; font-size: 17px; }
.note p { margin: 0; }
.references { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.references h2 { margin-top: 0; font-size: 21px; }
.references ul { margin: 0; padding-left: 20px; }
.references li + li { margin-top: 8px; }
.references a { color: #d9cffd; text-decoration: underline; text-decoration-color: rgba(217,207,253,.45); text-underline-offset: 3px; }
.references a:hover { color: #fff; }
.review-note { margin: 28px 0 0; color: var(--muted-2); font-size: 14px; }

.related { padding: 70px 0 92px; border-top: 1px solid var(--line); background: #0e0d14; }
.section-kicker { margin: 0 0 8px; color: #d8cbff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.related h2 { max-width: 650px; margin-bottom: 28px; font-size: clamp(29px, 3vw, 42px); line-height: 1.03; letter-spacing: -.04em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { min-height: 198px; display: flex; flex-direction: column; padding: 24px; border-top: 2px solid var(--line-strong); background: var(--surface); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.related-card:hover { transform: translateY(-4px); border-color: var(--pink); background: #171522; }
.related-card span { color: #d9cffd; font-size: 13px; font-weight: 800; }
.related-card h3 { margin: 34px 0 14px; font-size: 22px; line-height: 1.1; letter-spacing: -.025em; }
.related-card .arrow { margin-top: auto; color: #fff; font-size: 14px; font-weight: 800; }
.related-card .arrow::after { content: " →"; color: var(--pink); font-size: 18px; }

.site-footer { padding: 58px 0 26px; background: #0d0c12; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.55fr) repeat(3, 1fr); gap: 36px; padding-bottom: 38px; }
.footer-brand > a { display: inline-block; max-width: 100%; line-height: 0; }
.footer-brand img { display: block; width: min(180px, 100%); height: auto !important; max-width: 100%; aspect-ratio: 768 / 204; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 280px; margin: 19px 0 0; color: var(--muted); font-size: 14px; }
.footer-col h2 { margin-bottom: 13px; color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col a { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.copyright { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }

@media (max-width: 900px) {
  :root { --content: min(720px, calc(100% - 36px)); }
  .nav-links { gap: 14px; }
  .hero-grid, .article-layout { grid-template-columns: 1fr; }
  .article-hero { padding-bottom: 38px; }
  .hero-figure { max-width: 520px; margin-inline: auto; }
  .toc { position: static; padding: 0 0 18px; border-left: 0; border-bottom: 1px solid var(--line); }
  .toc nav { columns: 2; gap: 28px; }
  .toc a { break-inside: avoid; }
  .toc-support { display: none; }
  .article-body { width: 100%; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
@media (max-width: 660px) {
  :root { --content: calc(100% - 30px); }
  .nav-shell { min-height: 68px; }
  .brand { width: 124px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 12px 15px 20px; flex-direction: column; align-items: stretch; background: #14121c; border-bottom: 1px solid var(--line); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 8px; }
  .nav-guide { border-bottom: 0; box-shadow: inset 2px 0 0 var(--violet); }
  .nav-cta { text-align: center; }
  .article-hero { padding-top: 24px; }
  .breadcrumbs { margin-bottom: 32px; }
  h1 { font-size: 43px; }
  .answer { font-size: 18px; }
  .article-layout { gap: 34px; padding: 42px 0 68px; }
  .toc nav { columns: 1; }
  .lead { font-size: 18px; }
  .callout { margin: 28px 0 36px; padding: 21px 20px 21px 27px; }
  .article-body h2 { margin-top: 44px; }
  .steps li { padding: 16px 15px 16px 66px; }
  .steps li::before { left: 15px; }
  .related { padding: 56px 0 68px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 170px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 390px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
