html { scroll-behavior: smooth; scroll-padding-top: 84px }
    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.3vw, 58px); line-height: 1.07; 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 }
    *:focus-visible { outline: 1px solid #C6FF00; outline-offset: 2px }

    /* two-branch tree */
    .tree-stem { width: 1px; height: 18px; background: #555; margin: 0 auto }
    .tree-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; position: relative; padding-top: 18px }
    .tree-row:before { content: ""; position: absolute; top: 0; height: 1px; background: #555; left: calc((100% - 16px) / 4); right: calc((100% - 16px) / 4) }
    .tree-row > * { position: relative }
    .tree-row > *:before { content: ""; position: absolute; top: -18px; left: 50%; width: 1px; height: 18px; background: #555 }
    .tree-row > *: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% - 16px) / 4); right: calc((100% - 16px) / 4) }

    /* form */
    .field { width: 100%; background: #050505; border: 1px solid #242424; color: #fff; font-size: 16px; line-height: 1.5; padding: 12px 14px; border-radius: 2px }
    .field::placeholder { color: #666 }
    .field:focus { outline: none; border-color: #C6FF00 }
    .field[aria-invalid="true"] { border-color: #F87171 }
    textarea.field { min-height: 140px; resize: vertical }
    .opt-btn { border: 1px solid #242424; color: #A3A3A3; transition: border-color .15s, color .15s }
    .opt-btn:hover { border-color: #383838; color: #fff }
    .opt-btn[aria-pressed="true"] { border-color: #C6FF00; color: #fff }
    .opt-btn[aria-pressed="true"] .opt-mark { background: #C6FF00; border-color: #C6FF00 }
    .method[aria-pressed="true"] { border-color: #C6FF00 }
    .method[aria-pressed="true"] .method-code { color: #C6FF00 }
    .chk input:checked + .chk-box { border-color: #C6FF00; background: #C6FF00 }
    .chk input:checked + .chk-box svg { opacity: 1 }
    .chk input:focus-visible + .chk-box { outline: 1px solid #C6FF00; outline-offset: 2px }
    .chk-box { width: 18px; height: 18px; border: 1px solid #383838; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 2px }
    .chk input[aria-invalid="true"] + .chk-box { border-color: #F87171 }
    .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 }
    }
