@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Kanit:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #07111f;
  --bg-soft: #0b1828;
  --panel: rgba(17, 34, 52, .72);
  --panel-solid: #102236;
  --text: #e9f7ff;
  --muted: #91aebe;
  --line: rgba(157, 221, 246, .16);
  --blue: #8bdcf7;
  --blue-strong: #4bb4da;
  --cyan: #c9f5ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, .26);
  --radius: 22px;
}

[data-theme="light"] {
  --bg: #f4fbfe;
  --bg-soft: #e9f6fb;
  --panel: rgba(255, 255, 255, .75);
  --panel-solid: #fff;
  --text: #092033;
  --muted: #557080;
  --line: rgba(14, 93, 126, .14);
  --blue: #169bc7;
  --blue-strong: #0784b0;
  --cyan: #075c7a;
  --shadow: 0 24px 80px rgba(25, 92, 119, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: 'Kanit', system-ui, sans-serif; line-height: 1.65; overflow-x: hidden; transition: background .35s ease, color .35s ease; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-glow { position: fixed; z-index: -1; width: 35rem; height: 35rem; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .045; }
.site-glow-one { top: -14rem; right: -8rem; background: #37bce8; }
.site-glow-two { bottom: 20%; left: -20rem; background: #1766a4; }

.topbar { width: min(1160px, calc(100% - 48px)); height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.05em; }
.brand-dot { color: var(--blue); }
.brand-mark { width: 24px; height: 24px; display: inline-block; position: relative; transform: rotate(-30deg); }
.brand-mark span { position: absolute; width: 14px; height: 8px; background: var(--blue); border-radius: 2px; transform: skewY(30deg); }
.brand-mark span:nth-child(1) { top: 0; left: 5px; }
.brand-mark span:nth-child(2) { top: 8px; left: 0; background: #3caed5; }
.brand-mark span:nth-child(3) { bottom: 0; right: 0; background: #b7f1ff; }
.nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.theme-toggle, .menu-toggle { border: 0; background: transparent; cursor: pointer; }
.theme-toggle { border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; color: var(--muted); font-size: .75rem; }
.theme-toggle span { color: var(--blue); font-size: 1rem; margin-right: 3px; }
.menu-toggle { display: none; font-size: 1.4rem; }

.hero { min-height: 640px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 30px; align-items: center; padding: 72px 0 104px; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .18em; font: 600 .67rem/1.2 'IBM Plex Mono', monospace; }
.status-dot, .chip-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #72f1ba; box-shadow: 0 0 0 5px rgba(114, 241, 186, .11); margin-right: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.05em; line-height: 1.08; }
h1 { font-size: clamp(3.5rem, 7vw, 5.7rem); margin: 22px 0; font-weight: 800; }
h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); margin: 18px 0 24px; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-text { max-width: 540px; color: var(--muted); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 19px; border-radius: 11px; font-size: .79rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #052239; background: var(--blue); box-shadow: 0 10px 26px rgba(75, 180, 218, .18); }
.button-primary:hover { box-shadow: 0 15px 35px rgba(75, 180, 218, .3); }
.button-ghost { border: 1px solid var(--line); color: var(--text); }
.button-ghost:hover { background: var(--panel); }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font: .65rem 'IBM Plex Mono', monospace; }
.hero-meta strong { display: block; color: var(--text); font: 600 .78rem 'Kanit', sans-serif; }

.hero-art { min-height: 490px; display: grid; place-items: center; position: relative; }
.logo-card { width: min(540px, 100%); position: relative; border: 1px solid rgba(139, 220, 247, .2); border-radius: 16px; overflow: hidden; background: var(--panel-solid); box-shadow: 0 18px 45px rgba(0, 0, 0, .2); }
.logo-card::before { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.025); pointer-events: none; }
.card-shine { display: none; }
.logo-card img { display: block; width: 100%; height: auto; position: relative; }
.card-caption { position: absolute; bottom: 18px; left: 24px; right: 24px; display: flex; gap: 9px; align-items: center; color: #9bdcf2; font: .6rem 'IBM Plex Mono', monospace; letter-spacing: .16em; }
.card-caption i { width: 4px; height: 4px; border-radius: 50%; background: #5aaec7; }
.orbit { display: none; position: absolute; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-21deg); }
.orbit-one { width: 600px; height: 260px; }
.orbit-two { width: 410px; height: 510px; transform: rotate(32deg); border-color: rgba(139, 220, 247, .09); }
.floating-chip { position: absolute; padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel-solid); color: var(--muted); font-size: .64rem; font-weight: 600; }
.chip-icon { color: var(--blue); margin-right: 5px; }.chip-top { top: 12%; right: -1%; }.chip-bottom { bottom: 11%; left: 2%; }.chip-bottom .chip-pulse { background: var(--blue); width: 6px; height: 6px; margin-right: 5px; box-shadow: none; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-items { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font: .6rem 'IBM Plex Mono', monospace; letter-spacing: .09em; }
.trust-items strong { color: var(--text); font: 700 .8rem 'Kanit', sans-serif; letter-spacing: -.02em; }.trust-items i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); opacity: .7; }.flag { color: #ff7e66; font-size: .7rem; }

.section { padding: 125px 0; }.section-heading { max-width: 570px; }.section-heading > p:last-child { color: var(--muted); max-width: 480px; font-size: .9rem; }.feature-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 58px; }.feature-card { min-height: 390px; padding: 30px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }.feature-card:hover { transform: translateY(-3px); border-color: rgba(139, 220, 247, .4); }.feature-card-large { background: var(--panel); }.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; font-size: 1.2rem; color: #052239; background: var(--blue); margin-bottom: 46px; }.icon-install { background: #c9f5ff; }.icon-terminal { color: var(--blue); background: rgba(139, 220, 247, .14); }.card-kicker { color: var(--blue); font: .62rem 'IBM Plex Mono', monospace; letter-spacing: .15em; }.feature-card h3 { font-size: 1.8rem; margin: 15px 0; }.feature-card > p:not(.card-kicker) { color: var(--muted); font-size: .78rem; max-width: 310px; }.feature-card code, .command-list code { color: var(--blue); font: .78rem 'IBM Plex Mono', monospace; }.card-link, .text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--text); font-size: .74rem; font-weight: 700; }.card-link span, .text-link span { color: var(--blue); }.mini-window { position: absolute; right: -40px; bottom: -20px; width: 230px; height: 120px; border: 1px solid rgba(139, 220, 247, .22); border-radius: 12px; background: rgba(4, 16, 28, .52); transform: rotate(-8deg); padding: 11px; }.mini-window span { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #f37a7a; margin-right: 4px; }.mini-window span:nth-child(2) { background: #f5d27a; }.mini-window span:nth-child(3) { background: #79e0a8; }.mini-window div { height: 3px; width: 68%; background: var(--blue); opacity: .45; margin-top: 25px; box-shadow: 0 13px 0 rgba(139,220,247,.18), 0 26px 0 rgba(139,220,247,.1); }

.install-section { background: var(--bg-soft); }.install-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }.steps { border-left: 1px solid var(--line); }.step { display: flex; gap: 22px; padding: 23px 0 23px 30px; border-bottom: 1px solid var(--line); position: relative; }.step::before { content: ''; position: absolute; left: -4px; top: 31px; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }.step.active::before { background: var(--blue); box-shadow: 0 0 0 6px rgba(139,220,247,.12); }.step-number { min-width: 30px; color: var(--blue); font: .68rem 'IBM Plex Mono', monospace; padding-top: 4px; }.step h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: -.03em; }.step p { margin: 0; color: var(--muted); font-size: .75rem; }.tools-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }.terminal-card { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: #06101c; box-shadow: var(--shadow); font: .78rem/2 'IBM Plex Mono', monospace; }.terminal-top { height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; background: #0d1e30; color: var(--muted); font-size: .65rem; }.terminal-dots i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #f37a7a; }.terminal-dots i:nth-child(2) { background: #f5d27a; }.terminal-dots i:nth-child(3) { background: #79e0a8; }.copy-button { border: 0; color: var(--blue); background: transparent; cursor: pointer; font: .62rem 'IBM Plex Mono', monospace; }.terminal-body { min-height: 285px; padding: 25px 27px; color: #dff8ff; }.terminal-body p { margin: 0; }.terminal-muted { color: #5d7b8b; }.prompt, .terminal-output b { color: #79e0a8; }.command { color: var(--blue); }.terminal-output { color: #9fb8c5; }.cursor { animation: blink 1.1s steps(2) infinite; }.command-list { display: grid; gap: 12px; margin-top: 28px; }.command-list span { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }.command-list small { color: var(--muted); font-size: .7rem; }

.download-band { padding: 70px 0; background: var(--blue); color: #052239; }.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }.download-band .eyebrow { color: #156783; }.download-band h2 { margin: 12px 0 8px; font-size: clamp(2.4rem, 5vw, 4.4rem); }.download-band p:last-child { margin: 0; color: #17617a; font-size: .85rem; }.button-light { background: #052239; color: #e9f7ff; padding: 16px 24px; }.footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .68rem; }.footer p { margin: 0; }.footer-version { font: .62rem 'IBM Plex Mono', monospace; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }.reveal.is-visible { opacity: 1; transform: translateY(0); }.reveal-delay { transition-delay: .1s; }.reveal-delay-short { transition-delay: .05s; }
@keyframes blink { 50% { opacity: 0; } }

.nav-current { color: var(--text) !important; }
.kb-hero { padding: 92px 0 58px; text-align: center; }
.kb-hero h1 { font-size: clamp(3.1rem, 7vw, 5.8rem); margin: 22px 0 15px; }
.kb-hero > p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }
.kb-search { width: min(660px, 100%); height: 60px; margin: 34px auto 0; display: flex; align-items: center; gap: 13px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); text-align: left; }
.kb-search span { color: var(--blue); font-size: 1.6rem; line-height: 1; }
.kb-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font: .78rem 'Kanit', sans-serif; }
.kb-search input::placeholder { color: var(--muted); }
.kb-search kbd, .kb-detail kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font: .65rem 'IBM Plex Mono', monospace; }
.kb-content { display: grid; grid-template-columns: 210px 1fr; gap: 60px; padding-bottom: 105px; }
.kb-sidebar { padding-top: 12px; }
.topic { width: 100%; display: flex; justify-content: space-between; margin: 5px 0; padding: 11px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; text-align: left; font-size: .72rem; }
.topic span { color: var(--muted); font: .62rem 'IBM Plex Mono', monospace; }
.topic:hover, .topic.active { color: var(--text); background: var(--panel); }
.topic.active { box-shadow: inset 2px 0 var(--blue); }
.kb-results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 20px; color: var(--muted); font-size: .67rem; }
.kb-results-head p { margin: 0; }
.kb-results-head strong { color: var(--blue); font: 600 1rem 'IBM Plex Mono', monospace; }
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.article-card { min-height: 275px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: transform .2s ease, border-color .2s ease; }
.article-card:hover { transform: translateY(-5px); border-color: rgba(139,220,247,.42); }
.article-card[hidden] { display: none; }
.article-number { color: var(--blue); font: .62rem 'IBM Plex Mono', monospace; }
.article-tag, .detail-label { margin-top: 25px; color: var(--blue); font: .57rem 'IBM Plex Mono', monospace; letter-spacing: .13em; }
.article-card h2 { margin: 12px 0 10px; font-size: 1.23rem; letter-spacing: -.04em; }
.article-card p { margin: 0; color: var(--muted); font-size: .74rem; }
.article-read { margin-top: auto; padding-top: 20px; color: var(--text); font-size: .68rem; font-weight: 700; }
.article-read b { color: var(--blue); margin-left: 6px; }
.no-results { padding: 40px 0; color: var(--muted); text-align: center; }
.kb-articles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 120px; }
.kb-detail { scroll-margin-top: 30px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.kb-detail h2 { margin: 13px 0; font-size: 1.45rem; }
.kb-detail p { color: var(--muted); font-size: .78rem; }
.kb-detail strong, .kb-detail code { color: var(--blue); }
.kb-detail pre { margin: 18px 0 0; padding: 15px; overflow: auto; border-radius: 9px; background: #06101c; color: #dff8ff; font: .7rem/1.8 'IBM Plex Mono', monospace; }
.detail-note { display: flex; gap: 10px; padding: 13px; border-left: 2px solid #f2ca69; background: rgba(242,202,105,.06); color: var(--muted); font-size: .7rem; }
.detail-note b { color: #f2ca69; white-space: nowrap; }

@media (max-width: 860px) { .hero, .install-layout, .tools-section { grid-template-columns: 1fr; gap: 60px; }.hero { padding-top: 45px; }.hero-art { min-height: 420px; }.feature-grid { grid-template-columns: 1fr 1fr; }.feature-card-large { grid-column: span 2; }.install-layout { gap: 50px; }.tools-copy { order: -1; }.trust-items { flex-wrap: wrap; justify-content: center; padding: 20px 0; }.trust-items i { display: none; }.kb-content { grid-template-columns: 1fr; gap: 25px; }.kb-sidebar { padding-top: 0; display: flex; flex-wrap: wrap; gap: 5px; }.kb-sidebar .card-kicker { width: 100%; }.topic { width: auto; } }
@media (max-width: 640px) { .shell, .topbar { width: min(100% - 32px, 1160px); }.topbar { height: 70px; }.menu-toggle { display: block; }.nav { display: none; position: absolute; top: 62px; left: 0; right: 0; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel-solid); flex-direction: column; align-items: stretch; gap: 16px; box-shadow: var(--shadow); }.nav.open { display: flex; }.theme-toggle { text-align: left; }.hero { min-height: auto; padding: 52px 0 80px; }.hero h1 { font-size: clamp(3.1rem, 15vw, 5rem); }.hero-meta { gap: 12px; }.hero-art { min-height: 310px; }.logo-card { width: 100%; }.orbit-one { width: 380px; height: 180px; }.orbit-two { width: 300px; height: 360px; }.chip-top { right: -4%; top: 5%; }.chip-bottom { left: -3%; bottom: 4%; }.feature-grid, .article-grid, .kb-articles { grid-template-columns: 1fr; }.feature-card-large { grid-column: auto; }.feature-card { min-height: 330px; }.section { padding: 90px 0; }.install-layout, .tools-section { gap: 38px; }.download-inner, .footer { flex-direction: column; align-items: flex-start; }.footer { padding: 28px 0; }.footer-version { align-self: flex-end; }.card-caption { font-size: .48rem; gap: 5px; left: 14px; right: 14px; bottom: 10px; }.kb-hero { padding-top: 55px; }.kb-hero h1 { font-size: clamp(2.9rem, 14vw, 4rem); }.kb-search { height: 54px; }.kb-search kbd { display: none; }.kb-results-head { display: block; }.kb-results-head span { display: block; margin-top: 5px; }.kb-sidebar { margin-bottom: 10px; }.topic { font-size: .64rem; }.kb-detail { padding: 23px; } }

.downloads-hero { padding: 92px 0 58px; text-align: center; }.downloads-hero h1 { font-size: clamp(3.2rem, 7vw, 6rem); margin: 22px 0 15px; }.downloads-hero > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; }.downloads-hero code { color: var(--blue); font: .8rem 'IBM Plex Mono', monospace; }
.release-list { padding-bottom: 110px; }.release-toolbar { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .68rem; }.manifest-source { color: var(--blue); font: .65rem 'IBM Plex Mono', monospace; }.release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 18px; }.release-card { min-height: 390px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }.release-card-latest { border-color: rgba(139,220,247,.5); background: linear-gradient(145deg, rgba(31,82,108,.52), var(--panel)); box-shadow: var(--shadow); }.release-card-top { display: flex; justify-content: space-between; align-items: center; }.release-index { color: var(--blue); font: .65rem 'IBM Plex Mono', monospace; }.release-latest { padding: 5px 8px; border-radius: 5px; color: #052239; background: var(--blue); font: 600 .55rem 'IBM Plex Mono', monospace; letter-spacing: .08em; }.release-date { margin: 30px 0 8px; color: var(--blue); font: .6rem 'IBM Plex Mono', monospace; letter-spacing: .11em; }.release-card h2 { margin: 0 0 7px; font-size: 1.45rem; }.release-filename { margin: 0; overflow-wrap: anywhere; color: var(--muted); font: .68rem 'IBM Plex Mono', monospace; }.release-meta { display: flex; gap: 20px; margin-top: 25px; color: var(--muted); font: .65rem 'IBM Plex Mono', monospace; }.release-meta b { display: block; color: var(--text); font-size: .52rem; }.release-hash { margin-top: auto; padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font: .53rem 'IBM Plex Mono', monospace; }.release-hash code { display: block; margin-top: 6px; overflow: hidden; color: var(--blue); text-overflow: ellipsis; white-space: nowrap; }.release-download { justify-content: center; margin-top: 3px; }.release-error { padding: 40px; border: 1px solid rgba(243,122,122,.3); border-radius: 15px; color: #f3a3a3; text-align: center; }.download-help { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 60px; align-items: center; padding-bottom: 125px; }.download-help h2 { font-size: 2.5rem; }.download-help > p { color: var(--muted); font-size: .8rem; }.download-help pre { margin: 0; padding: 17px; overflow: auto; border-radius: 10px; background: #06101c; color: var(--blue); font: .7rem 'IBM Plex Mono', monospace; }
@media (max-width: 900px) { .release-grid { grid-template-columns: 1fr 1fr; }.download-help { grid-template-columns: 1fr 1fr; gap: 30px; }.download-help pre { grid-column: span 2; } }
@media (max-width: 640px) { .release-grid { grid-template-columns: 1fr; }.release-toolbar { display: block; }.manifest-source { display: block; margin-top: 7px; }.download-help { grid-template-columns: 1fr; padding-bottom: 90px; }.download-help pre { grid-column: auto; } }
