.csn, .csf { --c-bg: #080d17; --c-bg2: #0d1422; --c-ink: #f4f7fb; --c-ink2: #c3cddb; --c-muted: #8794a9; --c-line: rgba(216, 225, 234, .14); --c-accent: #00e5ff;
  background: var(--c-bg); color: var(--c-ink2); font-family: var(--sans, var(--body, "Inter", system-ui, -apple-system, "Segoe UI", sans-serif)); }
.csn *, .csf * { box-sizing: border-box; }
.csn { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--c-line); }
.csn-wrap, .csf-wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.csn-wrap { display: flex; align-items: center; gap: 28px; min-height: 62px; }
.csn-logo { display: flex; flex: none; } .csn-logo img { display: block; }
.csn-links { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.csn-links > a, .csn-dd > summary { color: var(--c-ink2); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; padding: 8px 0; border-bottom: 2px solid transparent; }
.csn-links > a:hover, .csn-dd > summary:hover, .csn-dd[open] > summary { color: var(--c-ink); }
.csn-links > a[aria-current="page"] { color: var(--c-ink); border-bottom-color: var(--c-accent); }
.csn-dd { position: relative; }
.csn-dd > summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.csn-dd > summary::-webkit-details-marker { display: none; }
.csn-dd > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.csn-dd[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.csn-panel { position: absolute; left: -18px; top: calc(100% + 13px); width: min(680px, calc(100vw - 40px)); display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; padding: 12px;
  background: var(--c-bg2); border: 1px solid var(--c-line); border-radius: 2px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.csn-panel a { display: grid; gap: 3px; padding: 10px 12px; border-radius: 2px; text-decoration: none; }
.csn-panel a:hover, .csn-panel a:focus-visible { background: rgba(255, 255, 255, .05); }
.csn-panel a b { color: var(--c-ink); font-size: 15px; font-weight: 600; }
.csn-panel a span { color: var(--c-muted); font-size: 13.5px; line-height: 1.4; }
.csn-panel a[aria-current="page"] b { color: var(--c-accent); }
.csn-quiet { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0 0; padding: 12px 12px 4px; border-top: 1px solid var(--c-line);
  font: 500 11.5px/1.5 var(--mono, "IBM Plex Mono", ui-monospace, Consolas, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.csn-quiet i { font-style: normal; }
.csn-panel .csn-quiet a { display: inline; padding: 0; color: var(--c-ink2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(216, 225, 234, .4); }
.csn-panel .csn-quiet a:hover, .csn-panel .csn-quiet a:focus-visible { background: none; color: var(--c-ink); text-decoration-color: currentColor; }
.csn-panel .csn-quiet a[aria-current="page"] { color: var(--c-accent); }
.csn-end { display: flex; align-items: center; gap: 12px; flex: none; }
.csn-theme { font: inherit; font-size: 13px; color: var(--c-ink2); background: none; border: 1px solid rgba(216, 225, 234, .45); border-radius: 2px; padding: 7px 10px; cursor: pointer; }
.csn-theme:hover { color: var(--c-ink); }
.csn-demo { display: inline-block; padding: 9px 14px; border-radius: 2px; background: var(--c-accent); color: #04121c; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.csn-demo:hover { filter: brightness(1.08); }
.csn-burger { display: none; }
.csn-burger > summary { list-style: none; width: 40px; height: 40px; display: grid; align-content: center; gap: 5px; padding: 0 9px; cursor: pointer; border: 1px solid rgba(216, 225, 234, .45); border-radius: 2px; }
.csn-burger > summary::-webkit-details-marker { display: none; }
.csn-burger > summary i { display: block; height: 2px; background: var(--c-ink); }
.csn-mobile { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 63px); overflow-y: auto; display: grid; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 24px;
  background: var(--c-bg2); border-bottom: 1px solid var(--c-line); }
.csn-mobile a { padding: 12px 0; color: var(--c-ink); font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--c-line); }
.csn-mobile a[aria-current="page"] { color: var(--c-accent); }
.csn-mobile a.csn-mq small { margin-left: 8px; font: 500 11px/1 var(--mono, "IBM Plex Mono", ui-monospace, Consolas, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.csn-mgroup { padding: 16px 0 6px; color: var(--c-muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 1120px) { .csn-wrap { gap: 22px; } .csn-links { gap: 20px; } }
@media (max-width: 980px) {
  .csn-links { display: none; } .csn-burger { display: block; } .csn-wrap { justify-content: space-between; gap: 12px; }
}
@media (max-width: 420px) { .csn-theme { display: none; } .csn-demo { padding: 9px 10px; font-size: 13px; } }

.csf { border-top: 1px solid var(--c-line); padding-block: 44px 26px; margin-top: 0; }
.csf-top { display: grid; grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 44px; align-items: start; }
.csf-brand img { display: block; }
.csf .csf-brand p { margin: 14px 0 16px; max-width: 24ch; color: var(--c-ink2); font-size: 14.5px; line-height: 1.5; }
.csf-demo { display: inline-block; padding: 9px 14px; border: 1px solid rgba(216, 225, 234, .45); border-radius: 2px; color: var(--c-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.csf-brand img + .csf-demo { margin-top: 20px; }
.csf-demo:hover { border-color: var(--c-accent); color: var(--c-accent); }
.csf h4 { margin: 0 0 12px; color: var(--c-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.csf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.csf ul li a:not(.btn), footer.csf .csf-co a:not(.btn) { color: var(--c-ink2); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
footer.csf ul li a:not(.btn):hover, footer.csf .csf-co a:not(.btn):hover { color: var(--c-ink); text-decoration: underline; }
.csf-co { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: 13.5px; line-height: 1.5; }
.csf-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.csf .csf-legal a:not(.btn) { font-size: 13.5px; color: var(--c-muted); }
.csf-tm { flex-basis: 100%; font-size: 12.5px; }
.csf p { color: var(--c-muted); font-size: 13.5px; line-height: 1.5; margin: 12px 0 0; max-width: 90ch; }
.csf-legal:empty { display: none; }
@media (max-width: 980px) { .csf-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .csf-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .csf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; } }

.cs-next { background: #0d1422; color: #c3cddb; border-top: 1px solid rgba(216, 225, 234, .14); }
.cs-next .csf-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: 28px; }
.cs-next .n { display: grid; gap: 4px; text-decoration: none; min-width: 0; }
.cs-next .n small { color: #8794a9; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.cs-next .n b { color: #f4f7fb; font-size: 20px; font-weight: 600; }
.cs-next .n span { color: #8794a9; font-size: 14.5px; }
.cs-next .n:hover b { color: #00e5ff; }
.cs-next { position: relative; }
.cs-next::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #8fa2ff 0 20%, #f2b84b 20% 40%, #4fd18b 40% 60%, #5ea8ff 60% 80%, #ff7a7a 80% 100%); }
.cs-next .acts { display: grid; justify-items: end; gap: 8px; }
.cs-next .acts .fine { max-width: 30ch; font-size: 12.5px; line-height: 1.45; color: #8794a9; text-align: right; }
@media (max-width: 640px) { .cs-next .acts { justify-items: start; } .cs-next .acts .fine { text-align: left; max-width: none; } }
.cs-next .acts a { padding: 10px 16px; border-radius: 2px; font-size: 14.5px; font-weight: 600; text-decoration: none; border: 1px solid rgba(216, 225, 234, .45); color: #f4f7fb; }
.cs-next .acts a.p { background: #00e5ff; border-color: #00e5ff; color: #04121c; }
body.dark-page .csn-theme[data-cs-theme] { display: none; }
