:root {
    --neo-brand-blue: #023aef;
    --neo-brand-blue-dark: #002ab3;
    --primary-color: var(--neo-brand-blue);
    --accent-color: var(--neo-brand-blue-dark);
    --background-color: #f5f7fc;
    --card-background: #fff;
    --text-primary: #182641;
    --text-secondary: #53627a;
    --border-color: #e2e8f2;
    --soft-blue: #edf2ff;
    --warning-color: #a65b00;
    --shadow: 0 8px 32px rgba(22, 44, 90, .045);
}
.dark-mode {
    --primary-color: #9bb5ff;
    --accent-color: #c5d3ff;
    --background-color: #0e1728;
    --card-background: #172338;
    --text-primary: #eef3ff;
    --text-secondary: #b2bfd4;
    --border-color: #2b3b55;
    --soft-blue: #1e3053;
    --warning-color: #ffc477;
    --shadow: 0 8px 32px rgba(0, 0, 0, .12);
    color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; line-height: 1.8; color: var(--text-primary); background: var(--background-color); }
button, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: var(--primary-color); text-underline-offset: 4px; }
a:hover { color: var(--accent-color); }
:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 4px; }
.container { width: min(1200px, 100%); padding-inline: 32px; margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 10px 18px; background: var(--card-background); color: var(--primary-color); z-index: 1500; border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.header {
    --hero-background: linear-gradient(120deg, var(--neo-brand-blue-dark), var(--neo-brand-blue));
    --hero-muted: #e2eaff;
    --hero-border: rgba(255,255,255,.2);
    --hero-surface: rgba(255,255,255,.09);
    --hero-surface-hover: rgba(255,255,255,.2);
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--hero-background);
}
.dark-mode .header {
    --hero-background: linear-gradient(120deg, #101d36, #142d66);
    --hero-muted: #b9c9e9;
    --hero-border: rgba(155,181,255,.22);
    --hero-surface: rgba(155,181,255,.08);
    --hero-surface-hover: rgba(155,181,255,.16);
}
.dark-mode .header::after { border-color: rgba(155,181,255,.1); box-shadow: 0 0 0 70px rgba(155,181,255,.025), 0 0 0 140px rgba(155,181,255,.015); }
.header::after { content: ''; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; right: -140px; top: -130px; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); pointer-events: none; }
.header .container { position: relative; z-index: 1; }
.header-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--hero-border); }
.brand-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-link:hover { color: #fff; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: #fff; color: var(--neo-brand-blue); border-radius: 13px; font-size: 22px; }
.brand-mark img { display: block; width: 72%; height: 72%; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.5; }
.brand-copy strong { font-size: 17px; letter-spacing: -.025em; }
.brand-copy small { font-size: 11px; color: var(--hero-muted); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 80px; height: 44px; padding: 4px; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.theme-switch-track { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: 72px; height: 36px; border: 1px solid var(--hero-border); border-radius: 999px; background: var(--hero-surface); transition: background .2s; }
.theme-toggle:hover .theme-switch-track { background: var(--hero-surface-hover); }
.theme-switch-thumb { position: absolute; top: 2px; left: 2px; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s ease; }
.theme-switch-track i { position: relative; z-index: 1; font-size: 14px; line-height: 1; text-align: center; transition: color .2s; }
.theme-switch-sun { color: var(--neo-brand-blue); }
.theme-switch-moon { color: var(--hero-muted); }
.theme-toggle[aria-checked="true"] .theme-switch-thumb { transform: translateX(36px); }
.theme-toggle[aria-checked="true"] .theme-switch-sun { color: var(--hero-muted); }
.theme-toggle[aria-checked="true"] .theme-switch-moon { color: var(--neo-brand-blue-dark); }
.header :focus-visible { outline-color: #fff; }
.hero-content { max-width: 780px; padding: 48px 0 50px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--hero-muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.header h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.15; font-weight: 700; letter-spacing: -.045em; margin: 18px 0; }
.hero-description { max-width: 630px; font-size: 15px; line-height: 1.85; color: var(--hero-muted); }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.last-updated, .hero-platform { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--hero-border); background: var(--hero-surface); border-radius: 8px; padding: 7px 11px; font-size: 11px; color: #fff; }
.main-content { padding-block: 36px 48px; }
.content-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 24px; padding: 22px 14px 14px; border-radius: 18px; border: 1px solid var(--border-color); background: var(--card-background); box-shadow: var(--shadow); max-height: calc(100dvh - 48px); overflow-y: auto; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 12px; margin-bottom: 6px; }
.sidebar h3 { font-size: 14px; font-weight: 700; }
.sidebar-description { color: var(--text-secondary); padding-inline: 12px; margin-bottom: 16px; font-size: 11px; }
.sidebar-nav { list-style: none; }
.sidebar-nav li + li { margin-top: 3px; }
.sidebar-nav a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--text-secondary); text-decoration: none; font-size: 12px; line-height: 1.6; border: 1px solid transparent; transition: background .15s, color .15s; }
.sidebar-nav a:hover { color: var(--primary-color); background: var(--soft-blue); }
.sidebar-nav a.active { color: var(--primary-color); background: var(--soft-blue); border-color: color-mix(in srgb, var(--primary-color) 18%, transparent); font-weight: 600; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; margin: 18px 12px 4px; padding-top: 16px; border-top: 1px solid var(--border-color); font-size: 11px; text-decoration: none; }
.sidebar-close { display: none; }
.content-sections { min-width: 0; }
.content-section, .whats-new-card { padding: 32px; margin-bottom: 22px; border: 1px solid var(--border-color); border-radius: 18px; background: var(--card-background); box-shadow: var(--shadow); scroll-margin-top: 24px; overflow-wrap: anywhere; }
.content-section:last-child { margin-bottom: 0; }
.content-section h2 { font-size: 22px; line-height: 1.4; letter-spacing: -.035em; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border-color); }
.content-section h3 { font-size: 16px; line-height: 1.55; margin: 24px 0 12px; }
.content-section h4, .whats-new-content h4 { font-size: 14px; line-height: 1.65; margin: 22px 0 10px; }
.content-section p, .content-section small, .content-section li, .whats-new-content { color: var(--text-secondary); }
.content-section p { margin-bottom: 14px; }
.content-section strong, .content-section b, .whats-new-content strong { color: var(--text-primary); font-weight: 600; }
.content-section ul, .whats-new-content ul { margin-block: 14px; padding-left: 22px; }
.content-section li, .whats-new-content li { padding-left: 4px; margin-bottom: 10px; }
.content-section li::marker, .whats-new-content li::marker { color: var(--primary-color); }
.content-section a, .whats-new-content a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary-color) 30%, transparent); }
.content-section a:hover, .whats-new-content a:hover { text-decoration-color: currentColor; }
.highlight-box, .warning-box { padding: 22px; border-radius: 12px; margin-block: 22px; border: 1px solid color-mix(in srgb, var(--primary-color) 15%, var(--border-color)); border-left: 3px solid var(--primary-color); background: var(--soft-blue); }
.warning-box { background: color-mix(in srgb, var(--warning-color) 7%, var(--card-background)); border-color: color-mix(in srgb, var(--warning-color) 25%, var(--border-color)); border-left-color: var(--warning-color); }
.highlight-box > :first-child, .warning-box > :first-child { margin-top: 0; }
.highlight-box > :last-child, .warning-box > :last-child { margin-bottom: 0; }
.whats-new-card { border-top: 3px solid var(--neo-brand-blue); }
.whats-new-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.whats-new-header > i { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; color: var(--primary-color); background: var(--soft-blue); font-size: 20px; }
.whats-new-header h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.035em; }
.whats-new-badge { display: block; margin-top: 4px; color: var(--text-secondary); font-size: 11px; font-weight: 400; }
.update-history { margin-top: 22px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.update-history summary { padding: 16px 0; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--primary-color); }
.update-history[open] { padding-bottom: 16px; }
.update-history + p { margin-top: 18px; font-size: 12px; }
.contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.contact-card { padding: 22px; background: var(--background-color); border: 1px solid var(--border-color); border-radius: 12px; }
.contact-card h4 { margin: 0 0 14px; color: var(--primary-color); }
.contact-card p { font-size: 12px; }
.contact-card p:last-child { margin-bottom: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; margin: 4px; border-radius: 6px; font-size: 10px; font-weight: 600; line-height: 1.5; vertical-align: middle; border: 1px solid; }
.badge-preview { color: var(--warning-color); border-color: color-mix(in srgb, var(--warning-color) 25%, transparent); background: color-mix(in srgb, var(--warning-color) 10%, transparent); }
.badge-published { color: #18754b; border-color: #bce8cf; background: #eaf8ef; }
.dark-mode .badge-published { color: #83e1ac; background: #183a31; border-color: #2d624b; }
.footer { padding: 26px 0; border-top: 1px solid var(--border-color); color: var(--text-secondary); font-size: 11px; text-align: center; background: var(--card-background); }
.quick-nav-toggle, .back-to-top { position: fixed; bottom: 24px; z-index: 1000; border: 0; background: var(--neo-brand-blue); color: #fff; box-shadow: 0 6px 20px rgba(2,58,239,.2); cursor: pointer; align-items: center; justify-content: center; }
.quick-nav-toggle { display: none; left: 20px; gap: 8px; padding: 12px 16px; min-height: 46px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.back-to-top { display: none; right: 24px; width: 46px; height: 46px; border-radius: 12px; font-size: 19px; }
.quick-nav-toggle:hover, .back-to-top:hover { background: var(--neo-brand-blue-dark); }
.nav-backdrop { display: none; }
.theme-toast { position: fixed; left: 20px; bottom: 84px; z-index: 1200; background: var(--card-background); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; font-size: 12px; }
.theme-toast.is-visible { opacity: 1; transform: translateY(0); }
.theme-toast__icon { color: var(--primary-color); }
.theme-toast__loader { display: none; }
@media (max-width: 1024px) {
    .container { padding-inline: 24px; }
    .content-grid { grid-template-columns: 225px minmax(0,1fr); gap: 20px; }
    .content-section, .whats-new-card { padding: 26px; }
    .contact-info { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .container { padding-inline: 20px; }
    .header-nav { padding-block: 18px; }
    .hero-content { padding-block: 32px 36px; }
    .hero-description { font-size: 13px; }
    .main-content { padding-block: 22px 30px; }
    .content-grid { grid-template-columns: minmax(0,1fr); }
    .sidebar { position: fixed; inset: auto 12px 84px; max-height: calc(100dvh - 112px); border-radius: 18px; z-index: 1100; visibility: hidden; opacity: 0; transform: translateY(15px); transition: visibility .2s, opacity .2s, transform .2s; }
    .sidebar.open { visibility: visible; opacity: 1; transform: translateY(0); }
    .sidebar-close { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border-color); border-radius: 9px; background: var(--background-color); color: var(--text-primary); cursor: pointer; }
    .sidebar-nav a { padding-block: 11px; }
    .nav-backdrop.is-visible { display: block; position: fixed; inset: 0; z-index: 1050; background: rgba(4, 15, 37, .45); backdrop-filter: blur(3px); }
    .quick-nav-toggle { display: inline-flex; }
    .content-section h2 { font-size: 20px; }
    .footer { padding-bottom: 98px; }
}
@media (max-width: 480px) {
    .container { padding-inline: 16px; }
    .brand-copy small { font-size: 9px; }
    .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 19px; }
    .brand-link { gap: 9px; }
    .hero-content { padding-top: 28px; }
    .hero-meta { gap: 8px; }
    .last-updated, .hero-platform { font-size: 10px; }
    .content-section, .whats-new-card { padding: 22px 18px; border-radius: 14px; margin-bottom: 16px; }
    .highlight-box, .warning-box, .contact-card { padding: 18px 15px; }
    .whats-new-header { gap: 10px; }
    .whats-new-header h2 { font-size: 19px; }
    .back-to-top { right: 16px; }
    .quick-nav-toggle { left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
    .sidebar, .theme-toggle, .back-to-top, .quick-nav-toggle, .theme-toast, .nav-backdrop, .skip-link { display: none !important; }
    :root, .dark-mode { --background-color: #fff; --card-background: #fff; --text-primary: #000; --text-secondary: #333; --primary-color: #002ab3; --border-color: #ddd; --soft-blue: #f4f4f4; }
    .header { background: #fff; color: #000; }
    .header::after { display: none; }
    .brand-link, .brand-copy small, .hero-description, .hero-eyebrow, .last-updated, .hero-platform { color: #000; }
    .hero-content { padding-block: 20px; }
    .content-grid { display: block; }
    .container { width: 100%; padding: 0; }
    .content-section, .whats-new-card { box-shadow: none; padding: 20px; }
    .footer { padding: 20px 0; }
}
