html { scroll-behavior: smooth; scroll-padding-top: 124px }
    body { background: #050505; color: #fff; font-family: Manrope, Arial, sans-serif; overflow-x: hidden }
    .container-x { width: min(1360px, calc(100% - 96px)); margin: 0 auto }
    @media (max-width: 1279px) { .container-x { width: calc(100% - 56px) } }
    @media (max-width: 767px) { .container-x { width: calc(100% - 40px) } }
    .mono { font-family: "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase }
    .section { padding: 88px 0 }
    @media (max-width: 767px) { .section { padding: 60px 0 } }
    .h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.035em }
    .h2 { font-size: clamp(27px, 2.8vw, 38px); line-height: 1.16; letter-spacing: -.03em }
    .grid-bg {
      background-image: linear-gradient(rgba(36, 36, 36, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 36, 36, .5) 1px, transparent 1px);
      background-size: 48px 48px
    }
    .cross { position: absolute; width: 17px; height: 17px; opacity: .55; pointer-events: none }
    .cross:before, .cross:after { content: ""; position: absolute; background: #666 }
    .cross:before { width: 17px; height: 1px; top: 8px; left: 0 }
    .cross:after { width: 1px; height: 17px; left: 8px; top: 0 }
    .corners { position: relative }
    .corners:before, .corners:after { content: ""; position: absolute; width: 12px; height: 12px; border-color: #666; pointer-events: none }
    .corners:before { left: -1px; top: -1px; border-left: 1px solid; border-top: 1px solid }
    .corners:after { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid }
    .ruler { height: 6px; background-image: repeating-linear-gradient(90deg, #383838 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, #666 0 1px, transparent 1px 50px); background-size: auto 4px, auto 6px; background-repeat: repeat-x; background-position: bottom }
    .dashed { border-top: 1px dashed #383838 }
    *:focus-visible { outline: 1px solid #C6FF00; outline-offset: 2px }

    /* tree diagrams */
    .tree-stem { width: 1px; height: 18px; background: #555; margin: 0 auto }
    .tree-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; padding-top: 18px }
    .tree-row:before { content: ""; position: absolute; top: 0; height: 1px; background: #555; left: calc((100% - 24px) / 6); right: calc((100% - 24px) / 6) }
    .tree-row > * { position: relative }
    .tree-row > *:before { content: ""; position: absolute; top: -18px; left: 50%; width: 1px; height: 18px; background: #555 }
    .tree-row.down > *:after { content: ""; position: absolute; bottom: -18px; left: 50%; width: 1px; height: 18px; background: #555 }
    .tree-join { position: relative; height: 18px }
    .tree-join:before { content: ""; position: absolute; bottom: 0; height: 1px; background: #555; left: calc((100% - 24px) / 6); right: calc((100% - 24px) / 6) }
    .tree-top { padding-top: 0 }
    .tree-top:before, .tree-top > *:before { display: none }
    @media (max-width: 767px) {
      .tree-resp .tree-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px 0 0 22px; margin-left: 8px }
      .tree-resp .tree-row:before { left: 0; right: auto; top: 0; bottom: 22px; width: 1px; height: auto }
      .tree-resp .tree-row > *:before { top: 50%; left: -22px; width: 22px; height: 1px }
      .tree-resp .tree-row.down > *:after, .tree-resp .tree-join:before { display: none }
      .tree-resp .tree-join { height: 8px }
      .tree-resp .tree-stem { margin: 0 0 0 8px }
      .tree-alt { grid-template-columns: minmax(0, 1fr); padding-top: 0 }
      .tree-alt:before, .tree-alt > *:before { display: none }
    }

    /* selections */
    [data-screen][aria-selected="true"] { color: #fff; border-color: #fff; background: #111 }
    [data-screen][aria-selected="true"] .sel-dot { background: #C6FF00; border-color: #C6FF00 }
    [data-module][aria-expanded="true"], [data-usecase][aria-selected="true"], [data-arch][aria-pressed="true"], [data-int][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    [data-module][aria-expanded="true"] .sel-dot, [data-usecase][aria-selected="true"] .sel-dot, [data-arch][aria-pressed="true"] .sel-dot, [data-int][aria-pressed="true"] .sel-dot { background: #C6FF00; border-color: #C6FF00 }
    [data-module-chip][aria-pressed="true"] { background: #fff; color: #050505; border-color: #fff }
    .subnav a[aria-current="true"] { color: #fff; border-color: #fff }
    details > summary { list-style: none }
    details > summary::-webkit-details-marker { display: none }
    details[open] .faq-icon { transform: rotate(45deg) }
    .scroll-x { overflow-x: auto; scrollbar-width: none }
    .scroll-x::-webkit-scrollbar { display: none }

    /* product UI mock (light theme on purpose: it is the product, not the marketing site) */
    .app { font-family: Manrope, Arial, sans-serif; background: #F4F4F2; color: #1C1C1A; letter-spacing: 0 }
    .app .app-mono { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .04em }
    .app table { width: 100%; border-collapse: collapse; font-size: 12px }
    .app th { text-align: left; font-weight: 600; color: #6B6B66; font-size: 11px; padding: 8px 10px; border-bottom: 1px solid #E2E2DE; white-space: nowrap }
    .app td { padding: 9px 10px; border-bottom: 1px solid #ECECE8; white-space: nowrap }

    .desktop-nav-sm { display: none }
    @media (max-width: 1179px) {
      .desktop-nav { display: none !important }
      .desktop-nav-sm { display: flex !important }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto }
      *, *:before, *:after { transition: none !important; animation: none !important }
    }
