
:root {
  color-scheme: dark;
  --ink: #f8fafc;
  --muted: #a9b3c5;
  --muted-2: #748198;
  --surface: #0b1220;
  --surface-2: #101b2d;
  --surface-3: #15243a;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --cyan: #35e6d0;
  --lime: #d8ff62;
  --gold: #ffd166;
  --pink: #ff5bd8;
  --violet: #8f7cff;
  --red: #ff7385;
  --shadow: 0 24px 80px rgba(0,0,0,.38);
  --radius: 1.45rem;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px circle at 12% 0%, rgba(53,230,208,.12), transparent 48%),
    radial-gradient(900px circle at 92% 10%, rgba(255,91,216,.10), transparent 50%),
    #060a12;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: var(--cyan); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--lime); }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: .5rem; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; background: white; color: #05070c; padding: .8rem 1rem; border-radius: .75rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.top-note { border-bottom: 1px solid var(--line); background: rgba(4,8,15,.9); color: #c8d1df; font-size: .78rem; letter-spacing: .025em; }
.top-note .container { display: flex; gap: .65rem; align-items: center; justify-content: center; padding: .55rem 0; text-align: center; }
.note-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 .35rem rgba(216,255,98,.10); flex: 0 0 auto; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(6,10,18,.82); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 74px; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: white; text-decoration: none; min-width: 0; }
.brand-mark { width: 2.55rem; height: 2.55rem; flex: 0 0 auto; border-radius: .9rem; background: linear-gradient(135deg, var(--cyan), var(--lime)); padding: .55rem; box-shadow: 0 15px 40px rgba(53,230,208,.16); }
.brand-mark svg { width: 100%; height: 100%; color: #071017; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-name { color: #fff; font-size: .96rem; font-weight: 850; letter-spacing: -.025em; }
.brand-tag { color: var(--muted); font-size: .68rem; margin-top: .25rem; letter-spacing: .04em; }
.desktop-nav { display: flex; align-items: center; gap: .2rem; }
.nav-link { display: inline-flex; color: #cfd7e5; text-decoration: none; font-size: .84rem; font-weight: 700; padding: .68rem .7rem; border-radius: .75rem; }
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav-link[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(53,230,208,.24); }
.menu-button { display: none; align-items: center; gap: .5rem; background: rgba(255,255,255,.05); color: white; border: 1px solid var(--line); border-radius: .85rem; padding: .65rem .8rem; font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.burger { width: 1.25rem; height: 1rem; display: grid; align-content: space-between; }
.burger span { display: block; height: 2px; background: currentColor; border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
.menu-button[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); padding: .7rem 0 1rem; }
.js .mobile-nav[hidden] { display: none; }
.mobile-nav-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.mobile-nav .nav-link { background: rgba(255,255,255,.04); border: 1px solid var(--line); justify-content: center; text-align: center; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(650px circle at 15% 22%, rgba(53,230,208,.18), transparent 54%),
  radial-gradient(700px circle at 90% 10%, rgba(255,91,216,.17), transparent 55%),
  radial-gradient(700px circle at 55% 100%, rgba(143,124,255,.13), transparent 55%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); gap: 3.4rem; align-items: center; padding: clamp(4.8rem, 8vw, 8rem) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #d7deea; border-radius: 999px; padding: .46rem .75rem; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: .48rem; height: .48rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 .3rem rgba(53,230,208,.1); }
h1, h2, h3 { color: #fff; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.85rem, 6.4vw, 5.9rem); margin: 1.25rem 0 1.2rem; max-width: 13ch; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin: 0 0 1rem; }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.65rem); margin: 1.8rem 0 .65rem; }
.lead { color: #c6cfdd; font-size: clamp(1.05rem, 1.65vw, 1.25rem); max-width: 64ch; }
.hero .lead { max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; border-radius: .95rem; padding: .78rem 1.08rem; font-size: .88rem; font-weight: 850; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #061014; background: linear-gradient(100deg, var(--cyan), var(--lime)); box-shadow: 0 18px 55px rgba(53,230,208,.18); }
.button-primary:hover { color: #061014; }
.button-secondary { color: #fff; background: rgba(255,255,255,.06); border-color: var(--line); }
.button-secondary:hover { color: #fff; background: rgba(255,255,255,.1); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: -1rem; border-radius: 2rem; background: linear-gradient(130deg, rgba(53,230,208,.25), rgba(255,91,216,.18), rgba(216,255,98,.14)); filter: blur(32px); opacity: .55; }
.hero-art img { position: relative; width: 100%; border: 1px solid var(--line-strong); border-radius: 1.8rem; box-shadow: var(--shadow); }
.hero-mini { position: absolute; right: -1.2rem; bottom: -1.2rem; width: min(72%, 320px); border: 1px solid var(--line-strong); border-radius: 1.2rem; padding: 1rem; background: rgba(8,14,24,.9); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.hero-mini strong { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.hero-mini p { margin: .35rem 0 0; color: #d4dbea; font-size: .85rem; }
.stat-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-top: 2rem; max-width: 690px; }
.stat { border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; background: rgba(255,255,255,.035); }
.stat strong { display: block; color: #fff; font-size: 1.2rem; }
.stat span { color: var(--muted); font-size: .77rem; }
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-compact { padding: 3.2rem 0; }
.section-border { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0,.8fr) minmax(280px,.55fr); gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-heading p { color: var(--muted); margin: 0; }
.kicker { color: var(--cyan); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .7rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(20,34,55,.88), rgba(9,16,28,.92)); box-shadow: 0 18px 55px rgba(0,0,0,.16); }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--pink), var(--lime)); opacity: .75; }
.card-pad { padding: 1.35rem; }
.card h3 { margin-top: .7rem; }
.card p { color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 850; text-decoration: none; margin-top: .4rem; }
.icon-box { width: 2.8rem; height: 2.8rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .9rem; color: #071017; background: linear-gradient(135deg, var(--cyan), var(--lime)); font-weight: 950; }
.feature-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 1.2rem; align-items: stretch; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14,25,42,.72); padding: clamp(1.35rem,3vw,2.2rem); }
.panel p { color: var(--muted); }
.step-list { display: grid; gap: .85rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; border: 1px solid var(--line); border-radius: 1.1rem; background: rgba(255,255,255,.035); padding: 1rem; }
.step-number { width: 2.45rem; height: 2.45rem; border-radius: .8rem; display: grid; place-items: center; color: #061014; background: linear-gradient(135deg, var(--gold), var(--lime)); font-weight: 950; }
.step strong { color: #fff; }
.step p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: .5rem .72rem; color: #d6ddea; background: rgba(255,255,255,.035); font-size: .78rem; font-weight: 750; }
.notice { border: 1px solid rgba(255,209,102,.35); border-radius: 1.2rem; background: linear-gradient(135deg, rgba(255,209,102,.10), rgba(255,91,216,.06)); padding: 1.15rem; color: #e7ecf4; }
.notice strong { color: var(--gold); }
.page-hero { border-bottom: 1px solid var(--line); background:
  radial-gradient(750px circle at 15% 0%, rgba(53,230,208,.15), transparent 55%),
  radial-gradient(750px circle at 90% 15%, rgba(143,124,255,.14), transparent 58%);
}
.page-hero-inner { padding: clamp(3.5rem,7vw,6.4rem) 0; }
.page-hero h1 { font-size: clamp(2.65rem,5vw,4.8rem); max-width: 18ch; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; color: var(--muted-2); font-size: .76rem; font-weight: 750; }
.breadcrumbs a { color: #c2ccda; text-decoration: none; }
.breadcrumbs span[aria-hidden="true"] { color: #667188; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,.34fr); gap: 2rem; align-items: start; }
.prose { color: #d1d9e6; font-size: 1.02rem; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15rem; }
.prose h2 { font-size: clamp(1.75rem,3vw,2.55rem); margin-top: 3rem; scroll-margin-top: 8rem; }
.prose h3 { scroll-margin-top: 8rem; }
.prose a { font-weight: 800; }
.prose strong { color: #fff; }
.prose blockquote { margin: 1.5rem 0; border-left: 4px solid var(--cyan); background: rgba(53,230,208,.06); padding: 1rem 1.1rem; color: #dce5ef; border-radius: 0 .9rem .9rem 0; }
.check-list, .number-list { display: grid; gap: .65rem; margin: 1rem 0 1.35rem; padding-left: 1.25rem; }
.check-list li::marker { color: var(--cyan); }
.number-list li::marker { color: var(--gold); font-weight: 900; }
.callout { border: 1px solid var(--line); border-radius: 1.1rem; padding: 1rem 1.1rem; margin: 1.35rem 0; background: rgba(255,255,255,.035); }
.callout strong { display: block; margin-bottom: .25rem; }
.callout p { margin: 0; color: #cdd6e4; }
.callout-info { border-color: rgba(53,230,208,.3); background: rgba(53,230,208,.055); }
.callout-warn { border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.055); }
.callout-risk { border-color: rgba(255,115,133,.35); background: rgba(255,115,133,.055); }
.table-wrap { overflow-x: auto; margin: 1.4rem 0 1.7rem; border: 1px solid var(--line); border-radius: 1rem; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
caption { text-align: left; padding: .85rem 1rem; color: #fff; font-weight: 850; background: rgba(255,255,255,.045); }
th, td { padding: .82rem 1rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--cyan); font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; background: rgba(255,255,255,.025); }
td { color: #cfd8e6; }
.sidebar { position: sticky; top: 7.3rem; display: grid; gap: 1rem; }
.sidebar-card { border: 1px solid var(--line); border-radius: 1.1rem; background: rgba(14,25,42,.78); padding: 1.1rem; }
.sidebar-card h2, .sidebar-card h3 { font-size: 1rem; margin: 0 0 .75rem; letter-spacing: -.01em; }
.sidebar-card p, .sidebar-card li { color: var(--muted); font-size: .84rem; }
.sidebar-card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; }
.toc { list-style: none; padding: 0 !important; }
.toc a { color: #cdd6e5; text-decoration: none; }
.toc a:hover { color: var(--cyan); }
.article-header { padding: clamp(3.5rem,6vw,6rem) 0 2.4rem; }
.article-header h1 { font-size: clamp(2.6rem,5.7vw,5rem); max-width: 16ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: var(--muted); font-size: .82rem; font-weight: 750; margin-top: 1.35rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.featured-image { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; border: 1px solid var(--line-strong); border-radius: 1.55rem; overflow: hidden; box-shadow: var(--shadow); }
.featured-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 43%; }
.article-body { padding: 3rem 0 6rem; }
.article-body .prose { max-width: 790px; }
.source-note { margin-top: 2.8rem; border-top: 1px solid var(--line); padding-top: 1.2rem; color: var(--muted); font-size: .88rem; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.post-card { display: flex; flex-direction: column; min-height: 100%; }
.post-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.post-card-content { display: flex; flex-direction: column; flex: 1; padding: 1.15rem; }
.post-card-meta { color: var(--muted-2); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.post-card h2, .post-card h3 { font-size: 1.27rem; margin: .65rem 0 .7rem; letter-spacing: -.022em; }
.post-card p { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.post-card .card-link { margin-top: auto; }
.archive-intro { max-width: 760px; }
.faq-list { display: grid; gap: .7rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.03); overflow: hidden; }
.faq-list summary { cursor: pointer; list-style: none; color: #fff; font-weight: 850; padding: 1rem 1.1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--cyan); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > div { border-top: 1px solid var(--line); padding: 1rem 1.1rem; color: var(--muted); }
.faq-list details p { margin: 0; }
.cta-band { border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1.5rem,4vw,2.4rem); background:
  radial-gradient(500px circle at 10% 0%, rgba(53,230,208,.15), transparent 60%),
  radial-gradient(500px circle at 90% 100%, rgba(255,91,216,.12), transparent 60%),
  rgba(15,27,45,.75);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cta-band h2 { font-size: clamp(1.6rem,3vw,2.35rem); margin: 0 0 .5rem; }
.cta-band p { color: var(--muted); margin: 0; }
.site-footer { border-top: 1px solid var(--line); background: #05080e; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.1fr) repeat(3,minmax(150px,.45fr)); gap: 2rem; padding: 3.6rem 0 2.4rem; }
.footer-brand p { max-width: 48ch; color: var(--muted); font-size: .88rem; }
.footer-title { color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { color: #aeb9ca; text-decoration: none; font-size: .84rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0 1.8rem; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .76rem; }
.footer-bottom a { color: #b9c3d1; }
.not-found { min-height: 66vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { max-width: none; }
@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 760px; }
  .hero-mini { right: .8rem; bottom: .8rem; }
  .cards-3, .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns: 1.3fr repeat(2,1fr); }
  .footer-main > :last-child { grid-column: 2; }
}
@media (max-width: 820px) {
  .section-heading { grid-template-columns: 1fr; gap: .3rem; }
  .feature-grid, .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; order: -1; }
  .sidebar-card.toc-card { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: repeat(2,1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > :last-child { grid-column: auto; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .brand-name { font-size: .82rem; }
  .brand-tag { display: none; }
  .mobile-nav-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.55rem,13vw,4.2rem); }
  .hero-inner { padding: 4rem 0 4.8rem; gap: 2.2rem; }
  .hero-mini { position: relative; right: auto; bottom: auto; width: 100%; margin-top: .7rem; }
  .stat-row, .cards-3, .cards-2, .blog-grid { grid-template-columns: 1fr; }
  .featured-image img { aspect-ratio: 1/1; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-main > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .top-note .container { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.featured-image{width:min(calc(100% - 2rem),900px)}
.featured-image img{aspect-ratio:1/1;object-fit:cover;object-position:center}
