:root {
  color-scheme: dark;
  --bg: #0b0e11;
  --panel: #111619;
  --line: #273034;
  --text: #eef1ec;
  --muted: #9da8a8;
  --green: #c2f970;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button:not(:disabled) { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
::selection { background: var(--green); color: var(--bg); }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.green { color: var(--green); }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translate(3px, -3px); }
.skip { position: absolute; left: 20px; top: -70px; padding: 12px; background: var(--green); color: var(--bg); z-index: 100; }
.skip:focus { top: 15px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: #0b0e11f2; backdrop-filter: blur(16px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 10px 35px #0004; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", sans-serif; font-size: 25px; font-weight: 600; letter-spacing: -1px; }
.brand img { object-fit: contain; }
.navigation { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
.navigation a { padding-block: 12px; }
.navigation a:hover { color: var(--green); }
.navigation .nav-source { color: var(--text); border: 1px solid var(--line); padding: 10px 15px; }
.menu-button { display: none; border: 1px solid var(--line); color: var(--text); background: transparent; padding: 8px 12px; font: 11px var(--mono); }
.menu-button span { color: var(--green); margin-left: 10px; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; min-height: 610px; gap: 28px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 10px/1.7 var(--mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--green); margin: 0; }
.dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px #c2f97055; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; font-weight: 500; margin: 0; }
h1 { font-size: clamp(50px, 5.7vw, 80px); line-height: 1.05; letter-spacing: -4px; margin: 26px 0; }
.hero-description { max-width: 420px; color: var(--muted); line-height: 1.85; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 15px 21px; font-size: 12px; font-weight: 700; background: var(--green); color: #16200e; border: 1px solid var(--green); transition: background .2s; }
.button:hover { background: #d4ff9e; }
.text-link { font-size: 12px; }
.text-link:hover { color: var(--green); }
.hero-note { margin: 40px 0 0; color: #9ca59d; font: 9px var(--mono); letter-spacing: 1px; }
.hero-art { position: relative; height: 500px; }
.hero-art > img { width: 112%; max-width: none; height: 100%; object-fit: contain; margin-left: -6%; }
.art-label { position: absolute; color: #9cae93; font: 9px var(--mono); letter-spacing: 1.6px; }
.art-label-top { top: 60px; left: 45px; }
.art-label-bottom { bottom: 46px; right: 20px; display: flex; align-items: center; gap: 9px; }
.discipline-strip { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 25px 0; font: 10px var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); }
.discipline-strip span::before { content: "/"; color: var(--green); margin-right: 12px; }
.section { padding: 86px 0; }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.section-top h2 { font-size: clamp(29px, 3.4vw, 42px); letter-spacing: -1.7px; margin-top: 14px; }
.section-top > p { color: var(--muted); font-size: 12px; max-width: 340px; line-height: 1.9; margin: 0 0 3px; }
.libraries { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.library { border: 1px solid var(--line); background: linear-gradient(135deg, #141b1c, var(--panel) 45%); overflow: hidden; display: flex; flex-direction: column; }
.library-body { padding: 30px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; color: #a5afa8; font: 9px var(--mono); letter-spacing: .7px; }
.badge { border: 1px solid #c2f97035; color: var(--green); padding: 5px 8px; font-size: 8px; }
.library h3 { font-size: 48px; letter-spacing: -2px; margin: 26px 0 6px; }
.subtitle { font: 11px var(--mono); color: #c0c9c6; margin: 0; }
.description { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 20px 0; min-height: 73px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { font: 9px var(--mono); padding: 6px 9px; border: 1px solid var(--line); color: #b4bfb9; }
.code-window { margin: 0 30px; border: 1px solid var(--line); background: #0b1012; }
.window-bar { padding: 12px 15px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; color: #a2afa6; font: 9px var(--mono); }
.window-dots { color: #64736b; letter-spacing: 4px; }
pre { font: 10px/1.9 var(--mono); margin: 0; padding: 18px; overflow-x: auto; min-height: 145px; color: #cbd3ca; }
pre .comment { color: #98a493; }
pre .keyword { color: #b7a3eb; }
pre .string { color: var(--green); }
.code-note { margin: 20px 30px 0; min-height: 31px; font: 9px/1.8 var(--mono); color: var(--muted); }
.live-demo { margin: 20px 30px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 10px var(--mono); min-height: 31px; }
.demo-button { font: 9px var(--mono); border: 1px solid #536147; padding: 7px 10px; color: var(--green); background: transparent; }
.demo-button:hover { background: #c2f9700b; }
.demo-button:disabled { color: var(--muted); cursor: default; }
.demo-result { color: var(--green); }
.card-footer { padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; margin-top: auto; }
.card-footer a:first-child { color: var(--green); }
.card-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.library-bottom { display: flex; justify-content: space-between; align-items: center; color: #a2aea6; margin-top: 22px; gap: 20px; }
.library-bottom p { font: 9px/1.7 var(--mono); margin: 0; text-align: center; }
.tiny-cross { color: #8c9b86; font: 18px var(--mono); }
.apps-section { border-top: 1px solid var(--line); }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app { background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; min-width: 0; display: flex; flex-direction: column; }
.app:hover { border-color: #65764e; transform: translateY(-4px); }
.app-visual { display: block; height: 215px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; background: #16201b; }
.visual-bar { height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 16px; color: #bbcab8; font: 8px var(--mono); letter-spacing: .4px; background: #111a17; position: relative; z-index: 1; }
.visual-bar > span:last-child { margin-left: auto; color: var(--green); }
.app-screenshot { width: calc(100% - 36px); height: auto; margin: 20px 18px 0; border-radius: 4px 4px 0 0; box-shadow: 0 10px 30px #0005; }
.intellibox-screen { width: calc(100% - 30px); margin: 16px 15px 0; }
.app-body { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.app-category { color: #c2d0b8; font: 8px var(--mono); letter-spacing: 1.3px; margin: 0 0 12px; }
.app h3 { font-size: 30px; letter-spacing: -1px; }
.app-body > p:not(.app-category) { color: var(--muted); font-size: 12px; line-height: 1.85; min-height: 88px; margin: 15px 0 19px; }
.app-link { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 19px; border-top: 1px solid var(--line); font-size: 11px; color: var(--green); }
.uploader-art { background: radial-gradient(ellipse at 50% 90%, #c2f9700b, transparent), #111a16; }
.upload-diagram { width: 74%; margin: 13px auto; border: 1px dashed #c2f97050; padding: 12px 16px; text-align: center; color: #c0ceb8; font: 9px var(--mono); border-radius: 5px; }
.upload-icon { color: var(--green); font-size: 26px; line-height: 30px; }
.upload-track { height: 3px; background: #2c392b; margin: 13px 0 12px; }
.upload-track span { display: block; height: 100%; width: 100%; background: var(--green); }
.share-link { font-size: 9px; color: var(--green); padding: 6px; background: #c2f97009; border: 1px solid #c2f97022; }
.share-link span { margin-right: 8px; }
.diagram-caption { display: block; font-size: 7px; color: #a9b6a3; margin-top: 8px; letter-spacing: 1px; }
.docker-section { background: #101518; border-block: 1px solid var(--line); }
.docker-layout { display: grid; grid-template-columns: .82fr 1.4fr; gap: 65px; }
.docker-intro h2 { font-size: 43px; line-height: 1.15; letter-spacing: -1.8px; margin-top: 20px; }
.docker-intro > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 300px; margin-top: 23px; }
.container-art { display: block; width: 250px; height: auto; margin: 28px 0; }
.docker-directory { min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.filter-button { background: transparent; color: var(--muted); padding: 8px 11px; font: 9px var(--mono); border: 1px solid var(--line); }
.filter-button.active { color: var(--green); border-color: #c2f97055; background: #c2f97009; }
.filter-button:hover { color: var(--green); }
.repo-row { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); }
.docker-project { grid-template-columns: 1fr auto auto; }
.repo-list { border-top: 1px solid var(--line); }
.repo-row h3 { font: 12px var(--mono); overflow-wrap: anywhere; }
.repo-row p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.repo-row > .arrow { color: var(--green); }
.repo-row:hover h3 { color: var(--green); }
.repo-tag { color: #b7c4b0; font: 7px var(--mono); padding: 4px 6px; border: 1px solid var(--line); }
.filter-status { font: 9px var(--mono); color: #9caa99; margin: 18px 0 0; }
.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 45px; border-top: 1px solid var(--line); }
.other-grid .repo-row { min-height: 96px; }
.cta { border-top: 1px solid var(--line); padding: 65px 0; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta h2 { font-size: 34px; letter-spacing: -1.5px; margin-top: 18px; }
.cta > div > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; font-size: 12px; margin-bottom: 0; }
.cta-links { display: flex; flex-wrap: wrap; gap: 12px; }
.outline { background: transparent; color: var(--text); border-color: var(--line); }
.outline:hover { background: var(--panel); border-color: var(--green); }
footer { border-top: 1px solid var(--line); }
.footer-inner { padding: 28px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
footer .brand { font-size: 20px; }
footer p, .footer-inner > a:last-child { font: 9px var(--mono); color: var(--muted); }
footer a:hover { color: var(--green); }
@media (min-width: 1600px) { .hero-grid { min-height: 665px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .navigation { gap: 20px; }
  .hero-grid { min-height: 540px; }
  h1 { letter-spacing: -2.5px; }
  .hero-art { height: 410px; }
  .art-label-top { top: 25px; left: 20px; }
  .art-label-bottom { bottom: 20px; right: 0; font-size: 8px; }
  .docker-layout { gap: 35px; }
  .library-body { padding: 24px; }
  .code-window { margin-inline: 24px; }
  pre { font-size: 9px; padding: 15px; }
  .card-footer { padding-inline: 24px; }
  .apps { gap: 14px; }
  .app-body { padding: 21px; }
  .app-body > p:not(.app-category) { min-height: 110px; }
  .app-visual { height: 185px; }
  .visual-bar { font-size: 7px; padding-inline: 11px; }
  .upload-diagram { width: 82%; margin-top: 10px; padding-block: 8px; }
  .upload-icon { font-size: 20px; line-height: 24px; }
  .cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 72px; flex-wrap: wrap; padding-block: 17px; gap: 16px; }
  .brand { font-size: 22px; }
  .brand img { width: 26px; height: 30px; }
  .navigation { width: 100%; gap: 18px; flex-wrap: wrap; font-size: 11px; }
  .navigation .nav-source { display: none; }
  .enhanced .menu-button { display: inline-block; }
  .enhanced .navigation { display: none; }
  .enhanced .navigation.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 46px; gap: 0; }
  h1 { font-size: clamp(49px, 11vw, 69px); margin-block: 23px; }
  .eyebrow { font-size: 9px; letter-spacing: .9px; }
  .hero-description { font-size: 14px; }
  .hero-note { margin-top: 30px; font-size: 8px; }
  .hero-art { height: 340px; margin-top: 2px; }
  .hero-art > img { width: 100%; margin-left: 0; }
  .art-label-top { left: 15px; top: 32px; font-size: 8px; }
  .art-label-bottom { bottom: 22px; right: 15px; font-size: 7px; }
  .discipline-strip { display: grid; grid-template-columns: 1fr 1fr; font-size: 8px; gap: 16px 12px; padding-block: 22px; }
  .discipline-strip span::before { margin-right: 7px; }
  .section { padding-block: 56px; }
  .section-top { display: block; margin-bottom: 28px; }
  .section-top h2 { font-size: 31px; letter-spacing: -1.2px; }
  .section-top > p, .section-top > a { display: block; margin-top: 17px; }
  .libraries, .apps, .docker-layout, .other-grid { grid-template-columns: 1fr; }
  .description { min-height: 0; font-size: 13px; }
  pre { font-size: 10px; }
  .library h3 { font-size: 45px; }
  .code-note, .live-demo { margin-inline: 24px; }
  .card-footer { gap: 12px; font-size: 10px; }
  .library-bottom p { font-size: 8px; }
  .apps { gap: 22px; }
  .app-visual { height: 230px; }
  .app-screenshot { margin-top: 18px; }
  .visual-bar { font-size: 8px; padding-inline: 16px; }
  .app-body { padding: 25px; }
  .app-body > p:not(.app-category) { min-height: 0; font-size: 13px; }
  .upload-diagram { width: 72%; margin-top: 20px; padding: 15px 18px; }
  .upload-icon { font-size: 27px; line-height: 33px; }
  .docker-intro h2 { font-size: 38px; }
  .docker-intro > p:not(.eyebrow) { max-width: 100%; }
  .container-art { width: 185px; margin-block: 17px; }
  .docker-layout { gap: 30px; }
  .repo-tag { display: none; }
  .docker-project { grid-template-columns: 1fr auto; }
  .repo-row h3 { font-size: 11px; }
  .repo-row p { font-size: 11px; }
  .filters { gap: 6px; }
  .filter-button { font-size: 8px; padding-inline: 9px; }
  .other-grid { gap: 0; }
  .cta { padding-block: 48px; gap: 25px; }
  .cta h2 { font-size: 29px; }
  .cta-links { gap: 10px; }
  .cta .button { font-size: 11px; padding: 13px 15px; gap: 17px; }
  .footer-inner { gap: 18px; }
  .footer-inner > p { order: 3; width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
