:root { --ink: #f7f0ff; --muted: #c2b0d8; --purple: #cfadff; --brand-purple: #6b1be3; --border: #492968; --paper: #1b0a32; --wash: #30154d; --surface: #281141; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--paper); color-scheme: dark; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 20; padding: 12px 20px; background: var(--brand-purple); color: white; border-radius: 12px; }
.skip-link:focus { top: 16px; }
.site-header { border-bottom: 1px solid var(--border); background: #12002d; }
.header-inner { width: min(1280px, calc(100% - 64px)); height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.wordmark { display: block; width: 96px; height: auto; flex-shrink: 0; }
.brand-divider { height: 23px; width: 1px; background: #624580; }
.open-here { background: var(--brand-purple); color: white; border: 1px solid #a576ef; padding: 10px 20px; border-radius: 12px; font-size: 14px; font-weight: 650; }
.open-here:hover { background: #7c2df1; }
.open-here span { margin-left: 15px; }
.hero { position: relative; background: #421486; border-bottom: 1px solid #7646a6; }
.hero-content { position: relative; padding: 65px 0 48px; text-align: center; z-index: 1; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: 1.8px; margin: 0 0 20px; }
h1, h2, h3 { line-height: 1.17; letter-spacing: -1px; }
.hero h1 { margin: 0; font-size: clamp(44px, 5.8vw, 72px); letter-spacing: -3.5px; font-weight: 800; }
.hero h1 span { color: var(--purple); }
.hero-subtitle { color: #e0cdf7; margin: 22px 0 27px; font-size: 17px; line-height: 1.65; }
.search-wrap { position: relative; display: flex; align-items: center; max-width: 660px; margin: auto; text-align: left; }
.search-wrap input { width: 100%; min-width: 0; height: 66px; border: 1px solid #9265c0; border-radius: 16px; background: #281044; padding: 0 64px 0 56px; color: var(--ink); box-shadow: 0 8px 24px #12002d30; }
.search-wrap input::placeholder { color: #c9b6de; }
.search-icon { position: absolute; left: 21px; font-size: 31px; line-height: 1; color: #d0acef; pointer-events: none; }
.search-wrap kbd { position: absolute; right: 20px; border: 1px solid #68458b; border-radius: 6px; padding: 0 8px; font-size: 13px; color: #d2b9eb; pointer-events: none; }
.search-panel { position: absolute; top: calc(100% + 9px); left: 0; right: 0; z-index: 10; background: #281141; border: 1px solid #8052b1; border-radius: 15px; padding: 12px; box-shadow: 0 16px 48px #12002d66; max-height: min(60vh, 530px); overflow-y: auto; }
#search-status { padding: 2px 10px 8px; margin: 0; font-size: 13px; color: var(--muted); }
.search-result { display: flex; flex-direction: column; padding: 11px; border-radius: 9px; }
.search-result:hover, .search-result:focus { background: #472166; }
.search-result small { color: var(--purple); font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 1px; }
.search-result strong { font-size: 15px; }
.search-result span { color: var(--muted); font-size: 13px; }
.quick-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 24px; font-size: 12px; }
.quick-links span { color: #e0cdf7; }
.quick-links a { color: #f7f0ff; font-weight: 650; }
.quick-links a:hover { text-decoration: underline; }
.browse-section { padding-top: 57px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { font-size: 30px; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 12px; margin: 0 0 3px; }
.section-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.section-card { border: 1px solid var(--border); background: var(--surface); border-radius: 17px; padding: 25px 22px 19px; display: flex; flex-direction: column; }
.section-card:hover { border-color: #b486ec; }
.section-icon { display: inline-flex; justify-content: center; align-items: center; width: 45px; height: 45px; border-radius: 13px; font-size: 27px; margin-bottom: 23px; }
.purple { color: #d8b6ff; background: #492472; }
.peach { color: #ffcaad; background: #502b4b; }
.blue { color: #becdff; background: #303260; }
.pink { color: #ffa8d7; background: #522249; }
.green { color: #b4e2c5; background: #263e49; }
.yellow { color: #f5db9b; background: #4b3644; }
.section-card h3 { font-size: 17px; letter-spacing: -.3px; margin: 0 0 10px; }
.section-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 24px; }
.card-count { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: #c2a5dd; font-size: 11px; font-weight: 550; }
.card-count span { color: var(--ink); font-size: 16px; }
.popular-section { padding-top: 58px; }
.popular-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.article-link { padding: 20px 2px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.article-link strong { display: block; font-size: 15px; font-weight: 650; }
.article-link small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.article-link .arrow { color: #c6a2e9; font-size: 20px; flex-shrink: 0; }
.article-link:hover strong { color: var(--purple); }
.help-banner { display: flex; align-items: center; gap: 22px; margin-top: 60px; padding: 30px 35px; background: var(--wash); border: 1px solid #65418a; border-radius: 17px; }
.banner-icon { font-size: 40px; color: #cfadff; }
.help-banner h2 { font-size: 22px; margin: 0 0 7px; letter-spacing: -.4px; }
.help-banner p { font-size: 13px; color: var(--muted); margin: 0; }
.help-banner > a { margin-left: auto; white-space: nowrap; font-size: 13px; font-weight: 650; color: var(--purple); }
.help-banner > a span { margin-left: 18px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 40px 0; margin-top: 48px; border-top: 1px solid var(--border); color: var(--muted); }
.site-footer .wordmark { width: 78px; }
.site-footer .brand { font-size: 11px; font-weight: 400; gap: 22px; }
.site-footer > div { display: flex; gap: 30px; font-size: 12px; }
.site-footer a:hover { color: var(--purple); }
.compact-search { padding: 25px 0; }
.compact-search .search-wrap { max-width: 100%; }
.compact-search input { height: 56px; background: var(--wash); box-shadow: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; font-size: 12px; color: var(--muted); padding: 20px 0 33px; }
.breadcrumbs a:hover { color: var(--purple); text-decoration: underline; }
.section-page { max-width: 850px; }
.section-intro { padding-top: 9px; }
.section-intro .section-icon { margin-bottom: 20px; }
.section-intro .eyebrow { margin-bottom: 10px; }
.section-intro h1 { font-size: clamp(32px, 4vw, 46px); margin: 0; }
.section-intro > p:last-child { color: var(--muted); font-size: 18px; margin: 15px 0 32px; }
.section-articles .article-link { padding: 23px 0; }
.section-articles .article-link strong { font-size: 17px; }
.section-articles .article-link small { font-size: 14px; }
.back-link { display: inline-block; color: var(--purple); font-size: 14px; font-weight: 650; margin-top: 35px; }
.article-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 65px; align-items: start; }
.article-sidebar { position: sticky; top: 28px; font-size: 13px; padding: 5px 0; }
.sidebar-title { display: block; font-size: 14px; font-weight: 750; margin-bottom: 18px; }
.sidebar-title span { color: var(--purple); margin-right: 7px; }
.article-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.article-sidebar nav a { display: block; padding: 9px 12px; margin-left: -12px; border-radius: 8px; line-height: 1.5; color: var(--muted); }
.article-sidebar nav a:hover { background: var(--wash); color: var(--purple); }
.article-sidebar nav a[aria-current] { background: #442169; color: var(--purple); font-weight: 650; }
.on-this-page { margin-top: 25px; padding-top: 16px; border-top: 1px solid var(--border); }
.on-this-page p { color: var(--ink); font-weight: 650; margin: 0 0 8px; }
.on-this-page nav a { font-size: 12px; padding-top: 5px; padding-bottom: 5px; }
.article { max-width: 730px; }
.article > .eyebrow { color: var(--purple); margin-bottom: 15px; }
.article h1 { font-size: clamp(32px, 4vw, 45px); margin: 0; letter-spacing: -1.5px; }
.article-summary { color: var(--muted); font-size: 18px; line-height: 1.6; padding-bottom: 25px; margin: 18px 0 27px; border-bottom: 1px solid var(--border); }
.article-body { color: #e2d5f0; overflow-wrap: anywhere; }
.article-body p { margin: 0 0 20px; }
.article-body h2 { color: var(--ink); font-size: 23px; margin: 33px 0 14px; letter-spacing: -.5px; scroll-margin-top: 25px; }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 23px; }
.article-body li { padding: 4px 0 4px 4px; }
.article-body li::marker { color: #c9a6ec; }
.article-end { margin-top: 35px; border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.article-end > a { color: var(--purple); font-weight: 650; }
.article-end button { margin-left: auto; border: 1px solid #795399; border-radius: 9px; padding: 7px 12px; font-size: 12px; color: #e0c6fa; background: var(--surface); cursor: pointer; }
.article-end button:hover { background: var(--wash); }
.copy-status { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 12px; }
.related-guides { margin-top: 30px; }
.related-guides h2 { font-size: 20px; letter-spacing: -.4px; }
.not-found { padding-top: 40px; }
.not-found h1 { font-size: 42px; }
.not-found > p { color: var(--muted); }
.not-found .section-grid { margin-top: 45px; }
.noscript { font-size: 13px; color: var(--muted); padding-bottom: 15px; }
@media (max-width: 980px) {
  .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 30px; }
  .section-heading > p { display: none; }
}
@media (max-width: 680px) {
  .container, .header-inner { width: calc(100% - 36px); }
  .header-inner { height: 76px; }
  .brand { font-size: 12px; gap: 10px; }
  .wordmark { width: 83px; }
  .open-here { padding: 9px 13px; font-size: 12px; }
  .open-here:hover { background: #7c2df1; }
.open-here span { margin-left: 7px; }
  .hero-content { padding: 46px 0 34px; }
  .hero h1 { letter-spacing: -2px; }
  .hero-subtitle { font-size: 15px; }
  .search-wrap input { font-size: 13px; height: 59px; padding-left: 45px; padding-right: 32px; }
  .search-wrap kbd { display: none; }
  .search-icon { left: 17px; font-size: 27px; }
  .quick-links { gap: 13px; font-size: 11px; }
  .quick-links > span { width: 100%; }
  .browse-section, .popular-section { padding-top: 37px; }
  .section-heading h2 { font-size: 25px; }
  .section-grid { gap: 12px; }
  .section-card { padding: 20px 16px 16px; }
  .section-card h3 { font-size: 16px; }
  .section-card p { font-size: 12px; }
  .section-card .section-icon { margin-bottom: 17px; }
  .popular-grid { grid-template-columns: minmax(0, 1fr); }
  .help-banner { margin-top: 36px; padding: 24px; flex-wrap: wrap; gap: 15px; }
  .banner-icon { display: none; }
  .help-banner h2 { font-size: 21px; }
  .help-banner > a { margin-left: 0; }
  .site-footer { margin-top: 35px; flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px 0; }
  .compact-search { padding: 18px 0 7px; }
  .breadcrumbs { font-size: 11px; padding-bottom: 25px; gap: 7px; }
  .article-layout { display: block; }
  .article-sidebar { display: none; }
  .article h1 { letter-spacing: -1px; }
  .article-summary { font-size: 16px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 22px; }
  .article-end button { margin-left: 0; }
}
@media (max-width: 370px) { .section-grid { grid-template-columns: 1fr; } .brand-divider { display: none; } .site-header .brand > span:last-child { display: none; } }
